Thanks for the reply, but from that other issue that you posted, I got to know that this is a default behavior. But it does not says how to avoid using "none" authentication method.
I tried with the NoneAuthentication option and it says it is not supported.
What is your operating system.and what is your ssh version ?
To your ssh version then add the some options like below if it is has its in specs.
My client is HP-UX and the remote server is windows 2008 server and in that I am running the vShell.
What I am doing now is to open a sftp session form the HP-UX to vShell.
I need to make changes in HPUX only.
I tried setting this option, but to no effect:
chacko193,
1 - (open)-ssh client asks the server for auth-methods as in the normal ssh-client-work as userauth-request
(because almost ssh clients wants to know which auth methods that the server supports) )
and cannot change this behaviour with add parameters as far as i m know for the open-ssh client
and therefore you must change the server config
if there is possibility of use the different ssh clients and then may you can this.
for exa i tested bitvise ssh client with selected "initial method" option to any (password,pubkey,gssapi,keyboard-interactive..)
and this is SuCcess so "ssh-connection method none [preauth]" is not logging any mode (debug[1-3],verbose or any others)
lastly this ssh client allow the authenticaton methods which we want to choose any methods...
And you will not see the message that is "rejected ....." in your server logs.
this is just a choise.I dont know its applicability.
2 - i wanted to test the vshell server but i cant download it.
below is the answer to me from vandyke and they give late response.
3 - u can check the loglevel on the server-side.*(sshd_config -> vshelld_config)
a-) what is output ?
a-1) lets try - We have to change this
to
b-) what is output ?
b-1) lets try - We have to change this
to
and
*
to
******************************************************
4 - and ask*(open the case) the vandyke.com.
or check the syslog.conf for eliminate the this messages.
I have already tried out not logging the "auth" events in vShell and that seems to work.
I got to thinking that since the client is initiating the ssh session, it will be the client that sends the "none" auth method request and from my other searches was able to confirm this as well. So I came to the conclusion that there will be some option within the ssh config files which prevents sending out the "none" auth request and hence my futile searches.
I will try out the rest of your suggestions and get back to when I have some results.
---------- Post updated at 11:30 PM ---------- Previous update was at 11:26 AM ----------
I tried changing the AuthenticationsAllowed and AuthenticationsRequired to "password" only in vShell, but still it is using the "none" authentication first and then only it is going for password.
---------- Post updated 05-27-14 at 04:42 AM ---------- Previous update was 05-26-14 at 11:30 PM ----------
I have one query. You said you were able to connect to server with any initial auth method using bitvise client. I also tried that and noticed the same,i.e , I am not getting that "none rejected" message.
So how is this bitvise client able to choose the initial auth method? If they are able to do it, why cannot we do the same. After all they too will be using the same open-ssh only(may be with some modifications). And I think it is the only one were none is listed as an auth method.
---------- Post updated at 07:42 AM ---------- Previous update was at 04:42 AM ----------
Quote:
Originally Posted by Perderabo
Look at your sshd_config file. Is PermitEmptyPasswords set to yes? If so, try turning it off.
It is set to no. Initially it was commented out. Tried with that parameter set to "no" and still the it is taking "none" as initial authentication method.
Last edited by chacko193; 05-27-2014 at 01:42 AM..
I have already tried out not logging the "auth" events in vShell and that seems to work.
I got to thinking that since the client is initiating the ssh session, it will be the client that sends the "none" auth method request and from my other searches was able to confirm this as well. So I came to the conclusion that there will be some option within the ssh config files which prevents sending out the "none" auth request and hence my futile searches.
I will try out the rest of your suggestions and get back to when I have some results.
---------- Post updated at 11:30 PM ---------- Previous update was at 11:26 AM ----------
I tried changing the AuthenticationsAllowed and AuthenticationsRequired to "password" only in vShell, but still it is using the "none" authentication first and then only it is going for password.
---------- Post updated 05-27-14 at 04:42 AM ---------- Previous update was 05-26-14 at 11:30 PM ----------
I have one query. You said you were able to connect to server with any initial auth method using bitvise client. I also tried that and noticed the same,i.e , I am not getting that "none rejected" message.
So how is this bitvise client able to choose the initial auth method? If they are able to do it, why cannot we do the same. After all they too will be using the same open-ssh only(may be with some modifications). And I think it is the only one were none is listed as an auth method.
---------- Post updated at 07:42 AM ---------- Previous update was at 04:42 AM ----------
it has differ codes in the bitvise ssh client ( executable) and it does not send to ssh-server with none-method as in its source code files for know the auth-methods.(written in that way)
and it does not use the openssh sources, it uses FlowSsh libraries and compiled from c++ platform for windows.
Hey team
I have to enable password less authentication betweeen A to B server and A to C server and A to D server.
For this I generated a ssh key on server A using ssh-keygen command and copied the key using ssh-copy-id command to B, C and D server. Everything is working fine as of now but... (5 Replies)
I setup passwordless authentication on a Ubuntu vm by ssh'ing into the localhost. I'm trying to do the same thing on another machine but it's not working. I believe I have the permissions setup properly and keygen'd. Is there a way to disable passwordless authentication? I have permission to... (4 Replies)
Hi!
Im trying to set access from ServerA(SunOS) to ServerB(Some custom Linux with Keyboard Interactive login) with SSH Keys. As a proof of concept I was able to do it between 2 virtual machines. Now in my real life scenario it isnt working.
I created the keys in ServerA, copied them to... (7 Replies)
Hi, I've used the following way to set ssh public key authentication and it is working fine on Solaris 10, RedHat Linux and SuSE Linux servers without any problem. But I got error 'Server refused our key' on Solaris 8 system. Solaris 8 uses SSH2 too. Why? Please help. Thanks.
... (1 Reply)
Hi All;
I have an issue with password less authentication via ssh ( v2)
I have two servers Server A and Server B, following are the server details
Server A
OS - HP UX B.11.11 U 9000/800
SSH - OpenSSH_4.3p2-hpn, OpenSSL 0.9.7i 14 Oct 2005
HP-UX Secure Shell-A.04.30.000, HP-UX... (3 Replies)
I am trying to implement passwordless authentication via ssh2. I have used the well documented technique of generating a key pair with a blank passphrase on my client machine, and installing the public key on the destination server (AIX 5.3) in the user's .ssh2 directory. I have used this technique... (1 Reply)
I am using an ssh pub key on two remote servers to allow ssh session without authentication. Both servers have the same id_rsa.pub copied from the host into the remote servers ~user/.ssh/authorized_keys. There is no passphrase for this key either.
The problem is that I am able to ssh into one... (2 Replies)
Hi all,
I have got a Solaris machine and I have several user account setup up with the .ssh and authorized_keys file in their home directories.
I have check all the permission and ownership and they are all indentical and belongs to the user ID and group respectively. However one of the... (3 Replies)