Re: [Hampshire] raspberry pi ssh port change.

Top Page

Reply to this message
Author: Steve Miller
Date:  
To: Hampshire LUG Discussion List
Subject: Re: [Hampshire] raspberry pi ssh port change.
> port line in ssh_config

That's the config file for ssh, the client. If you want to change the
port that the server is running on you need to make the change in
sshd_config.

Cheers, Steve
------- Original Message --------
> Hi Folks.
>
> I have uncommeted and changed the port line in ssh_config to port
> =xxxx, ie changed from 22. Or so i thought. However, when i try and
> remote in using
>
> ssh -p xxxx pi@<ip address> the connection is refused but when i leave
> out the -p xxxx it works.
>
> what am i missing please?
>
> btw, if any of the Hants LUG where/are involved with raspberry pi's,
> thanks for all you do.
>
> kind regards
> Mike
>



--
Please post to: Hampshire@???
Web Interface: https://mailman.lug.org.uk/mailman/listinfo/hampshire
LUG URL: http://www.hantslug.org.uk
--------------------------------------------------------------