Я попытался запустить экземпляр моего собственного (я не root) сервера sshd на удаленной машине, но это не удалось:
debug1: sshd version OpenSSH_4.3p2
debug1: read PEM private key done: type RSA
debug1: private host key: #0 type 1 RSA
debug1: setgroups() failed: Operation not permitted
debug1: rexec_argv[0]='/usr/sbin/sshd'
debug1: rexec_argv[1]='-d'
debug1: rexec_argv[2]='-f'
debug1: rexec_argv[3]='sshd_config'
debug1: rexec_argv[4]='-h'
debug1: rexec_argv[5]='ssh_host_rsa_key'
debug1: rexec_argv[6]='-p'
debug1: rexec_argv[7]='55000'
debug1: Bind to port 55000 on ::.
debug1: Bind to port 55000 on 0.0.0.0.
Bind to port 55000 on 0.0.0.0 failed: Address already in use.
Cannot bind any address.
Часть моего файла sshd_config:
# $OpenBSD: sshd_config,v 1.73 2005/12/06 22:38:28 reyk Exp $
# This is the sshd server system-wide configuration file. See
# sshd_config(5) for more information.
# This sshd was compiled with PATH=/usr/local/bin:/bin:/usr/bin
# The strategy used for options in the default sshd_config shipped with
# OpenSSH is to specify options with their default value where
# possible, but leave them commented. Uncommented options change a
# default value.
Port 55000
#Protocol 2,1
Protocol 2
#AddressFamily any
#ListenAddress
#ListenAddress ::
Если я раскомментирую адрес слушателя и использую любой ip, то, очевидно, мой собственный ip (172.16.13.126) выдает следующую ошибку:
Bind to port 55000 on 172.16.13.126 failed: Cannot assign requested address.
Cannot bind any address.