ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] mc shell-соединение нестандартный порт
@ 2007-05-27 20:44 Alexander Yereshenko
  2007-05-28  5:42 ` Denis Kirienko
  0 siblings, 1 reply; 2+ messages in thread
From: Alexander Yereshenko @ 2007-05-27 20:44 UTC (permalink / raw)
  To: community

Доброе!

Как в mc для shell-соединения (fish://) указать порт отличный от стандартного 
22 ? Гвоздями прибито? Ибо в хелпе только:

/#sh:[user@]machine[:options]/[remote-dir]
В качестве options могут использоваться:
'C' - использовать сжатие и
'r' - использовать rsh вместо ssh


Alexander

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] mc shell-соединение нестандартный порт
  2007-05-27 20:44 [Comm] mc shell-соединение нестандартный порт Alexander Yereshenko
@ 2007-05-28  5:42 ` Denis Kirienko
  0 siblings, 0 replies; 2+ messages in thread
From: Denis Kirienko @ 2007-05-28  5:42 UTC (permalink / raw)
  To: community

Alexander Yereshenko пишет:

> Как в mc для shell-соединения (fish://) указать порт отличный от стандартного 
> 22 ? Гвоздями прибито? Ибо в хелпе только:

У меня в ~/.ssh/config вписаны настройки для подключения к разным
серверам. Например:

Host server
    HostName server.mydomain.ru
    Port 2222
    Protocol 2
    ForwardX11 no
    ForwardAgent no
    Compression no

mc пользуется обычным ssh, поэтому если при таких настройках установить
из mc соединение вроде /#sh:server, то подключение в данном случае будет
устанавливаться с портом 2222. Естественно, метод работает только для ssh.

--
Денис



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-28  5:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-27 20:44 [Comm] mc shell-соединение нестандартный порт Alexander Yereshenko
2007-05-28  5:42 ` Denis Kirienko

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git