Originally Posted by
steeldriver
Do you still have the modified sshd_config file on the target server? does it allow PasswordAuthentication (I noticed the instructions you linked say to disable that option) - you will need that option at least until you set up key-based authentication
Here is my sshd_config file currently, which has gone back to the original server unexpectedly closed network connection:
Code:
Host *
# ForwardAgent no
# ForwardX11 no
# ForwardX11Trusted yes
# RhostsRSAAuthentication no
# RSAAuthentication yes
PasswordAuthentication yes
# HostbasedAuthentication no
# GSSAPAuthentication no
# GSSAPIDelegateCredentails no
# GSSAPIKeyExchange no
# GSSAPITrustDNS no
# BatchMode no
# CheckHostIP yes
# AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
# IdentifyFile ~/.ssh/identity
# IdentifyFile ~/.ssh/id_rsa
# Identifyfile ~/.ssh/id_dsa
Port 22
# Protocol 2,1
# Cipher 3des
# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfiur128,aes128-cbc,3des,cbc
# MACs hmac-md5,umac-64@openssh.com,hmac-ripem160
# EscapeChar ~
# Tunnel no
# TunnelDevice any:any
# PermitLocalCommand no
# VirtualHostKey no
# ProxyCommand ssh -q -W %h%p gateway.example.com
SendEnv LANG LC_*
HasKnownHosts yes
GSAPIAuthentication yes
GSSAPIDelegateCredentials no
Bookmarks