Страница 1 из 1

Настройка клиента ssh на FreeBSD для захода на Cisco

Добавлено: 2011-03-18 8:51:16
korbnik
Подскажите, пожалуйста, почему не заходит с FreeBSD на Cisco по ssh:

Код: Выделить всё

%ssh -v1 user@xxx.xxx.xxx.xxx
OpenSSH_4.5p1 FreeBSD-20061110, OpenSSL 0.9.7e-p1 25 Oct 2004
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Connecting to xxx.xxx.xxx.xxx [xxx.xxx.xxx.xxx] port 22.
debug1: Connection established.
debug1: identity file /home/semenov/.ssh/identity type -1
debug1: Remote protocol version 1.5, remote software version Cisco-1.25
debug1: no match: Cisco-1.25
debug1: Local version string SSH-1.5-OpenSSH_4.5p1 FreeBSD-20061110
debug1: Waiting for server public key.
Read from socket failed: Connection reset by peer
Версия FreeBSD:

Код: Выделить всё

[root@host] /home/user/> uname -a
FreeBSD host.domain.ru 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 10:40:27 UTC 2007     root@dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
[root@host] /home/user/> 
Версия ssh:

Код: Выделить всё

[root@host] /home/user/> ssh -V
OpenSSH_4.5p1 FreeBSD-20061110, OpenSSL 0.9.7e-p1 25 Oct 2004
[root@host] /home/user/> 
Конфиг клиента ssh вот:

Код: Выделить всё

[root@host] /home/user/> cat /etc/ssh/ssh_config 
#       $OpenBSD: ssh_config,v 1.22 2006/05/29 12:56:33 dtucker Exp $
#       $FreeBSD: src/crypto/openssh/ssh_config,v 1.27.2.4 2006/11/11 00:51:28 des Exp $

# This is the ssh client system-wide configuration file.  See
# ssh_config(5) for more information.  This file provides defaults for
# users, and the values can be changed in per-user configuration files
# or on the command line.

# Configuration data is parsed as follows:
#  1. command line options
#  2. user-specific file
#  3. system-wide file
# Any configuration value is only changed the first time it is set.
# Thus, host-specific definitions should be at the beginning of the
# configuration file, and defaults at the end.

# Site-wide defaults for some commonly used options.  For a comprehensive
# list of available options, their meanings and defaults, please see the
# ssh_config(5) man page.

# Host *
#   ForwardAgent no
#   ForwardX11 no
#   RhostsRSAAuthentication no
#   RSAAuthentication yes
#   PasswordAuthentication yes
#   HostbasedAuthentication no
#   GSSAPIAuthentication no
#   GSSAPIDelegateCredentials no
#   BatchMode no
#   CheckHostIP no
#   AddressFamily any
#   ConnectTimeout 0
#   StrictHostKeyChecking ask
#   IdentityFile ~/.ssh/identity
#   IdentityFile ~/.ssh/id_rsa
#   IdentityFile ~/.ssh/id_dsa
#   Port 22
#   Protocol 2,1
#   Cipher 3des
#   Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
#   EscapeChar ~
#   Tunnel no
#   TunnelDevice any:any
#   PermitLocalCommand no
#   VersionAddendum FreeBSD-20061110
[root@host] /home/user/> 
Что здесь настроить, чтобы можно заходить на Cisco?

Народ говорит что раньше со своих компов по Putty заходили на Cisco,
просто сейчас их обязали заходить на FreeBSD, а потом уже по ssh на Cisco.

Заранее благодарен. Борис.

Re: Настройка клиента ssh на FreeBSD для захода на Cisco

Добавлено: 2011-03-18 9:59:13
manefesto
telnet <ip> 22

Re: Настройка клиента ssh на FreeBSD для захода на Cisco

Добавлено: 2011-03-20 16:30:19
vintovkin

Код: Выделить всё

bsd# ssh -l admin 1.2.3.4
[/color]

sh run встудию!!!

Re: Настройка клиента ssh на FreeBSD для захода на Cisco

Добавлено: 2011-03-21 21:13:49
unix-admin
Файервол на Cisco?

Re: Настройка клиента ssh на FreeBSD для захода на Cisco

Добавлено: 2011-04-05 12:03:05
tp
расскоментируй в ssh клиенте
RSAAuthentication yes