problem in ssh into the server through .ssh/config file on FC3

Roberto Ragusa mail at robertoragusa.it
Thu Jul 13 16:19:40 UTC 2006


Ankush Grover wrote:
> 
> I am using LinCVS as cvs client. I have created
> /home/ankush/.ssh/config file on FC3
> 
>       HostName  192.168.2.13
>       User           ankush
>       Compression yes
>       Port               30987
> 
> When I try to ssh into FC3 from some other system I get this following
> error:
> 
> ssh: connect to host 192.168.2.13  port 22: Connection refused
> 
> this command I used for ssh into the FC3 system
> 
> ssh -l  ankush 192.168.2.13
> 
> but If I give ssh -p 30987 -l ankush 192.168.2.13
>
> I am able to ssh into the FC3 machine.

Try this:

  Host my_2_13
    HostName    192.168.2.13
    User        ankush
    Compression yes
    Port        30987

ssh my_2_13

Best regards.

-- 
   Roberto Ragusa    mail at robertoragusa.it




More information about the fedora-list mailing list