You are not logged in.
I'm trying to setup an sshd on Arch Linux. When I try to connect to it via localhost, it works fine. However, when I try to connect to it from outside the LAN, I'm given this curious error (note verbosity is on):
$ ssh int@censored -vv
OpenSSH_4.3p2 Debian-9, OpenSSL 0.9.8c 05 Sep 2006
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug2: ssh_connect: needpriv 0
debug1: Connecting to censored [IP censored] port 22.
debug1: Connection established.
debug1: identity file /home/intimidat0r/.ssh/identity type -1
debug1: identity file /home/intimidat0r/.ssh/id_rsa type -1
debug1: identity file /home/intimidat0r/.ssh/id_dsa type -1
ssh_exchange_identification: Connection closed by remote hostSo it would appear it's able to connect, but then the sshd boots it. I've been Googling and modifying various files, but to no avail. The common ones I've been changing are as follows:
# /etc/hosts.allow
sshd: ALL# /etc/hosts.deny
ALL: ALL: DENYsshd_config:
ListenAddress 0.0.0.0
Protocol 2
ChallengeResponseAuthentication no
UsePAM yes
Banner /etc/motd
Subsystem sftp /usr/lib/ssh/sftp-serverAnd I haven't had a chance to setup a firewall yet.
Does anybody have any idea what might be causing this?
Thank you very much.
Offline
Offline
Aha. I'm not sure what the problem was exactly, but when I started fiddling with things and reading that tutorial it started to work. Thank you. ![]()
Offline