← Back to team overview

sslug-teknik team mailing list archive

Re: ssh: conect to address 192.168.0.1 port 22: Connection refused

 

Klavs Klavsen wrote:
prøv at connecte med ssh -v optionen, så får du detaljer om hvad
klienten forsøger og hvad serveren svarer.



'ssh -v oldpc' giver
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Rhosts Authentication disabled, originating port wil not be trusted
debug1: ssh_connect: needpriv 0
debug1: Connecting to oldpc [192.168.0.1] port 22.
ssh: connect to address 192.168.0.1 port 22: Connection refused

ssh_config har jeg nu editeret således at indholdet er:
newpc:
        ForwardX11 yes
        Protocol 2,1
        RSAAuthentication yes
        DSAAuthentication yes
        RhostsAuthentication yes

oldpc:
Host *
        ForwardX11 yes
        Protocol 2,1
        RhostsAuthentication yes
        RhostsRSAAuthentication yes
        RSAAuthentication yes
        DSAAuthentication yes


Men det hjælper ikke

Jørgen Heesche





Follow ups

References