ssh2 without password
Mike
mikean at iesl.forth.gr
Tue Jun 6 09:36:26 EEST 2000
Kalimera!
Exo stisei to ssh se ena solaris mixanima me to exis
configuration file!
*:
Port 22
ListenAddress 0.0.0.0
Ciphers AnyStd
Ciphers AnyCipher
Ciphers AnyStdCipher
Ciphers 3des
IdentityFile identification
AuthorizationFile authorization
HostKeyFile hostkey
PublicHostKeyFile hostkey.pub
RandomSeedFile random_seed
ForwardAgent yes
ForwardX11 yes
# DEPRECATED PasswordAuthentication yes
PasswordGuesses 3
# MaxConnections 50
# 0 == number of connections not limited
MaxConnections 0
# PermitRootLogin nopwd
PermitRootLogin no
# DEPRECATED PubkeyAuthentication yes
# AllowedAuthentications publickey,password,hostbased
AllowedAuthentications publickey,password,hostbased
# RequiredAuthentications publickey
ForcePTTYAllocation no
VerboseMode no
# PrintMotd yes
# CheckMail yes
UserConfigDirectory "%D/.ssh2"
# UserConfigDirectory "/etc/ssh2/auth/%U"
SyslogFacility DAEMON
# SyslogFacility LOCAL7
Ssh1Compatibility no
# Sshd1Path <set by configure>
# DenyHosts evil.org, aol.com
# DenySHosts not.quite.trusted.org
# NoDelay yes
# KeepAlive yes
RequireReverseMapping yes
UserKnownHosts yes
# subsystem definitions
subsystem-sftp sftp-server
kai ton client idia akrivos version se ena redhat 6.1
exo ftiaxei pubs keeys me to ssh-keygen exo ston client
to $HOME/.ssh2/identification
pou periexe Idkey id_dsa_1024_c
kai to $HOME/.ssh2/authorization
pou periexei :Key root-client_hostname.pub
exo ston server .shosts .rhosts /etc/hosts.equiv /etc/shosts.equiv
me ton client mesa
kano ssh -v server -l user
kai
warning: To enable, configure with --enable-debug and recompile.
debug: hostname is 'server'.
debug: Unable to open /home/root/.ssh2/ssh2_config
warning: Development-time debugging not compiled in.
warning: To enable, configure with --enable-debug and recompile.
debug: connecting to server...
debug: entering event loop
debug: ssh_client_wrap: creating transport protocol
debug: Ssh2Client/sshclient.c:1015/ssh_client_wrap: creating userauth
protocol
debug: Remote version: SSH-2.0-2.1.0 SSH Secure Shell (non-commercial)
debug: Ssh2Client/sshclient.c:349/keycheck_key_match: Host key found
from database.
debug:
Ssh2AuthHostBasedClient/authc-hostbased.c:331/ssh_client_auth_hostbased:
Child: Execing ssh-signer...(path: ssh-signer2)
debug:
Ssh2AuthHostBasedClient/authc-hostbased.c:73/auth_hostbased_received_packet:
ssh-signer returned SSH_AUTH_HOSTBASED_SIGNATURE
debug: ssh_pipe_stream_destroy
debug: ssh_sigchld_real_callback
debug: ssh_sigchld_process_pid: no handler for pid 5845 code 0
debug: Ssh2AuthClient/sshauthc.c:304/ssh_authc_completion_proc: Method
'publickey' disabled.
debug: Ssh2AuthPasswdClient/authc-passwd.c:82/ssh_client_auth_passwd:
Starting password query...
user's password:
kai distixos den doulevei xoris pass!
--Mike
Kekes Stamatis wrote:
> Antonis Tsolomitis wrote:
>
>> > I ekdosi pou xrisimopoio einai i teleutaia tou ssh
>> > ftp ftp.ntua.gr:/mirror/security/ssh/ssh-2.1.0.pl2.tar.gz
>>
>> Dev dokimazeis kai to openssh?
>> Dev kserw poia eivai ta kataplnktika pleovektnmata tou ssh alla
>> oti configuration ekava sto openssh epaikse amesws evw
>> diafora pragmata pou dokimasa sto ssh2 ntav broken (opws to va
>> kobei tnv syvdesn se sygkekrimevous hosts= molis tou elega
>> mn dexese apo .com dev dexotav oute apo emeva (.gr))
>>
>
> To ssh to exo up and running kai mou douleyei mia xara.
> Opote an theleis na kopseis tous diaforous domains tha prepei na
> kaneis ta eksis :
> 1) o sshd tha prtepei na trexei apo ton inetd
> 2) sto hosts.deny arxeio na valeis tin eksis grammi :
> sshd : *.com
>
> Oso gia ta provlimata symvatotitas ekei symfono apolyta me ta
> loegomena.
> Tora oso afora to authentication, thelo na ksero me leptomereia ti
> exeis kanei gia na mporeso na se voithiso.
>
> --
> Kekes Stamatis
> Systems Administrator
> mailto:skekes at internet.gr
> +-------------+
> | .--. |
> | |o_o | |
> | |:_/ | |
> | // \ \ |
> | (| | ) |
> | /'\_ _/`\ |
> | \___)=(___/ |
> +-------------+
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hellug.gr/pipermail/linux-greek-users/attachments/20000606/8755e952/attachment.htm>
More information about the Linux-greek-users
mailing list