
#GNS3 NETWORK ERROR CONNECTION REFUSED WINDOWS 7 KEYGEN#

ssh.service - OpenBSD Secure Shell server.Output service ssh status / systemctl status ssh.service: service ssh status # and ChallengeResponseAuthentication to 'no'. # PAM authentication, then enable this but set PasswordAuthentication # If you just want the PAM account and session checks to run without # the setting of *PermitRootLogin without-password*. # PAM authentication via ChallengeResponseAuthentication may bypass # be allowed through the ChallengeResponseAuthentication and If this is enabled, PAM authentication will # Set this to 'yes' to enable PAM authentication, account processing, Subsystem sftp /usr/lib/openssh/sftp-server # Allow client to pass locale environment variables

# Change to no to disable tunnelled clear text passwords # Change to yes to enable challenge-response passwords (beware issues with # To enable empty passwords, change to yes (NOT RECOMMENDED) # Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication # For this to work you will also need host keys in /etc/ssh_known_hosts # Don't read the user's ~/.rhosts and ~/.shosts files # Lifetime and size of ephemeral version 1 server keyĪuthorizedKeysFile ~/.ssh/authorized_keys #Privilege Separation is turned on for security

# Use these options to restrict which interfaces/protocols sshd will bind to # What ports, IPs and protocols we listen for # See the sshd_config(5) manpage for details Output of cat /etc/ssh/sshd_config: # Package generated configuration file I used puttygen to create the key and it looked like this by deafult: - BEGIN SSH2 PUBLIC KEY -ĪAAAB3NzaC1yc2EAAAABJQAAAQEAx+KoPhVxfBrnN8cFb+hG9MveY0cfNpn9mAcN MJvvwRM1Oy/g+J7+RbPR/XTrrRmKQq5mnWU0ICV5qvTnsc+Lyw=īut all in one line. IP0VF+Vm5vC3W/F00PC1w3R3BMdDoS2VJj7jQTR1Ralbn9cM185/pZY8lvkX4lEQ HsfkEvxeG2EqLRYtaXUBXPgl3uILvXYbqG7HSBq/kZe/AICn/aK89rCGAozEepdeĪYmy9EtmfPU8pFgTrgMils8X6b5kPPxCBZ2pfeL/q4SUke+/xpV1x98py6PHM8Vm The key looks like this: rsa-key-public AAAAB3NzaC1yc2EAAAABJQAAAQEAx+KoPhVxfBrnN8cFb+hG9MveY0cfNpn9mAcN I believe it's something wrong with the public key not sure though. I am trying to log in to my server with ssh keys (I use putty to do it) but every time I try to connect it says Network error: Connection refused.
