|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Vladimir Tsibulsky 2:4624/13.2 17 Aug 2001 13:54:59 To : All Subject : Telneat+sshd --------------------------------------------------------------------------------
Где я напортачил?
Hикак не могу заставить работать telneat по ssh.
Зделал
ssh-keygen -d
с пустой пассфразой
id_dsa лег по умолчанию в ./home/user/.ssh/
id_dsa.pub забрал в каталог telneat и прописал в конфиге telneat.cfg
SSH_AUTH = dsa:id_dsa
В этом же конфиге задал
-- from here --
DEFINE_HOST main {
ADDRESS = ssh2:192.168.3.1
TERM = cons25r
SSH_CIPHER = idea
SSH_COMPRESSION = 9
}
DEFINE_HOST inherited : main {
LOG_FILE = full:telneat.log
}
-- to here --
По alt-a вызываю хост main и получаю дулю с маком.
-- sshd_config --
Port 22
Protocol 2
#ListenAddress 0.0.0.0
#ListenAddress ::
HostKey /etc/ssh/ssh_host_key
HostDsaKey /etc/ssh/ssh_host_dsa_key
ServerKeyBits 768
LoginGraceTime 120
KeyRegenerationInterval 3600
PermitRootLogin no
# Rate-limit sshd connections to 5 connections per 10 seconds
#ConnectionsPerPeriod 5/10
# Don't read ~/.rhosts and ~/.shosts files
IgnoreRhosts yes
# Uncomment if you don't trust ~/.ssh/known_hosts for RhostsRSAAuthentication
#IgnoreUserKnownHosts yes
StrictModes yes
X11Forwarding yes
X11DisplayOffset 10
PrintMotd yes
KeepAlive yes
# Logging
SyslogFacility AUTH
LogLevel INFO
#obsoletes QuietMode and FascistLogging
RhostsAuthentication no
#
# For this to work you will also need host keys in /etc/ssh_known_hosts
RhostsRSAAuthentication no
#
RSAAuthentication yes
# To disable tunneled clear text passwords, change to no here!
PasswordAuthentication yes
PermitEmptyPasswords no
# Uncomment to disable s/key passwords
#SkeyAuthentication no
# To change Kerberos options
#KerberosAuthentication no
#KerberosOrLocalPasswd yes
#AFSTokenPassing no
#KerberosTicketCleanup no
# Kerberos TGT Passing does only work with the AFS kaserver
#KerberosTgtPassing yes
CheckMail yes
#UseLogin no
# Uncomment if you want to enable sftp
#Subsystem sftp /usr/libexec/sftp-server
#MaxStartups 10:30:60
-- to here --
Best wishes!
Vladimir
--- GoldED/W32 3.0.1
* Origin: Скромность, прямой путь к забвению! (2:4624/13.2)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/146543b7d3429.html, оценка из 5, голосов 10
|