[email protected]
[Top] [All Lists]

Re: howto ssh with a not default port?

Subject: Re: howto ssh with a not default port?
From: Pavel Roskin
Date: Thu, 24 May 2007 15:50:50 -0400
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

_______________________________________________
Mc mailing list
http://mail.gnome.org/mailman/listinfo/mc

<Prev in Thread] Current Thread [Next in Thread>