Re: howto ssh with a not default port?



On Thu, 2007-05-24 at 13:29 +0200, Marco Ciampa wrote:
howto ssh with a not default port? 

hint?

mc doesn't pass the port number.  See fish_open_archive_int() in
vfs/fish.c.

But you can define a host in ssh config with a specific port:

Host router
HostName = 192.168.1.1
User = root
Port = 8022

Then "ssh router" will use port 8022.  And "shell link" to "router" will
use it too.  See "man ssh_config" for details.

-- 
Regards,
Pavel Roskin




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]