Re: Running SSH on a different port

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



2009/10/25 Les Mikesell <lesmikesell@xxxxxxxxx>:
> Gilbert Sebenste wrote:
>> On Sat, 24 Oct 2009, Philip Gwyn wrote:
>>
>>> On 24-Oct-2009 Oliver Ransom wrote:
>>>> I don't think there are any ramifications/disadvantages of running the
>>>> SSH daemon on a non standard port.
>>
>> Unless I want to sftp. It always looks for port 22; if I do:
>>
>> sftp SERVER
>>
>> It will deny me if SERVER is anything but port 22. Doing a man sftp yields
>> no help on how to solve that. Any ideas?
>
> I usually prefer rsync over ssh for file transfers where possible.  There it
> would be rsync -e 'ssh -p nnn' ....
>
Also, you coud set up the port on /etc/ssh/ssh_config for the name/ip
of the target machine, so you don't need to type "-o Port xxx" or "-p
xxx" every time.
The downside is that you forget the port over time, not using it.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux