On 6/6/06, Martin Hauser <[EMAIL PROTECTED]> wrote:
Hello List,

let's say i've got a ssh daemon and want to connect it using scp:// in
vim, i just get an error message that the hostname does not exist if i
do the following:

:e scp://[EMAIL PROTECTED]:7777/home/mh/foobar.txt

The right syntax seems to be:

  scp://[EMAIL PROTECTED]:#]port]/path

Alternatively, you can put following lines into file $HOME/.ssh/ssh_config:

Host 192.168.0.1
Port 7777

and that will make ssh/scp client to use port 7777 by default for this host.

Yakov

Reply via email to