21 / 12 / 10
Регистрация: 17.05.2014
Сообщений: 157
|
|
1 | |
SSH reverse21.02.2017, 22:38. Показов 781. Ответов 0
Метки нет (Все метки)
Друзья, пытаюсь настроить обратное подключение SSH.
На Rpi-debian1 за NAT запускаю SSH ssh -fN -R x.x.x.x:10022:localhost:22 root@x.x.x.x -p 4321 x.x.x.x - белый IP Соединение открывается. tcp 0 0 10.10.0.133:4321 y.y.y.y:53006 ESTABLISHED 28081/sshd: root y.y.y.y - серый IP Появляется ошибка connect_to localhost port 22: failed. На роутере с x.x.x.x порты 10022 и 4321 направляются на другой Rpi-debian2. На нём запускаю команду ssh -p 10022 root@x.x.x.x -vvv Появляется ошибка Кликните здесь для просмотра всего текста
OpenSSH_6.7p1 Debian-5+deb8u3, OpenSSL 1.0.1k 8 Jan 2015 debug1: Reading configuration data /etc/ssh/ssh_config debug1: /etc/ssh/ssh_config line 19: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to x.x.x.x [x.x.x.x] port 10022. debug1: Connection established. debug1: permanently_set_uid: 0/0 debug1: SELinux support disabled debug1: key_load_public: No such file or directory debug1: identity file /root/.ssh/id_rsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /root/.ssh/id_rsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /root/.ssh/id_dsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /root/.ssh/id_dsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /root/.ssh/id_ecdsa type -1 debug1: key_load_public: No such file or directory debug1: identity file /root/.ssh/id_ecdsa-cert type -1 debug1: key_load_public: No such file or directory debug1: identity file /root/.ssh/id_ed25519 type -1 debug1: key_load_public: No such file or directory debug1: identity file /root/.ssh/id_ed25519-cert type -1 debug1: Enabling compatibility mode for protocol 2.0 debug1: Local version string SSH-2.0-OpenSSH_6.7p1 Debian-5+deb8u3 ssh_exchange_identification: Connection closed by remote host А на Rpi-debian1 появляется ещё одна строка connect_to localhost port 22: failed.
0
|
21.02.2017, 22:38 | |
Ответы с готовыми решениями:
0
Пароль ssh Не устанавливается SSH Пересобрать SSH Работа с ssh |
21.02.2017, 22:38 | |
21.02.2017, 22:38 | |
Помогаю со студенческими работами здесь
1
SSH сервер Ssh доступ Подключиться по ssh из интернета Настройка SSH вслепую Искать еще темы с ответами Или воспользуйтесь поиском по форуму: |