sshd to alternate port (was: uses ipv6 by default...)
Paul Sladen
ubuntu at paul.sladen.org
Mon Sep 12 04:07:30 CDT 2005
On Sun, 11 Sep 2005, Alex Paquet-Bouchard wrote:
Hello Alex,
> ssh 127.0.0.1:33333
'ssh' is attempting to look up the DNS _name_ '127.0.0.1:33333'; if you
want to port different from the standard 22, you can use '-p' [Port]:
ssh -p 33333 alex at localhost
and if you're using 'scp' you need to use a capital '-P'
scp -P 33333 filename.txt alex at localhost:new_filename.txt
as '-p' means preserve attributes (timestamp and permissions), which is
there as a compatibility to the old unencrypted 'rcp' [Remote CoPy] utility.
Hope that helps and you can go back to running your normal kernel! ;-)
-Paul
--
The summer is familiar here. Edinburgh, GB
More information about the ubuntu-devel
mailing list