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

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

 



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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux