05-20-2014
Issues with passwordless sftp2 from windows to Linux using F-Secure SSH Client
Hi,
I am facing problems whie trying to do a passwordless ssh to Unix box from windows. Public key was generated using F-secure. When the F-secure client attempts it connects without password but when I try to use sftp2 in command line it prompts for password.
I have tried several options and failed.. no much help in google too.
Any response to possibilities will be much appreciated.
Below is the sftp2 -v output:
C:\Documents and Settings\hp-\Desktop>sftp2 -v mha@10.205.50.190
SshFileCopy: Making local connection.
SshFileXferClient: extname newline@vandyke.com', data: 00000000: 0d0a .. SshFileXferClient: Negotiated version: 3 (own version: 3, remote version: 3). SshFileCopy: Connection to local, ready to serve requests. Sftp2: Connection ready. SshReadLine: Initializing ReadLine... SshFileCopy: Connecting to remote host. (host = mha@10.205.50.190, user = NULL, port = NULL) Sftp2: Couldn't find ssh2 on path specified (ssh2.exe). Trying default PATH... SshConfig: Unable to open C:/Documents and Settings/hp-/Application Dat a/F-Secure SSH/ssh2_config SshReadLine: Initializing ReadLine... client supports 3 auth methods: 'keyboard-interactive,publickey,password' Ssh2Common: local ip = 10.10.49.141, local port = 2190 Ssh2Common: remote ip = 10.205.50.190, remote port = 22 SshConnection: Wrapping... Remote version: SSH-2.0-ReflectionForSecureIT_7.2.0.115 Ssh2Transport: My version: SSH-1.99-3.2.3 F-Secure SSH Windows Client Ssh2Transport: lang s to c:', lang c to s: `'
Ssh2Transport: ctos: cipher 3des-cbc, mac hmac-sha1, compression none
Ssh2Transport: stoc: cipher 3des-cbc, mac hmac-sha1, compression none
Remote host key found from database.
Ssh2Common: Received SSHCROSSSTARTUP packet from connection protocol.
Ssh2Common: Received SSHCROSS_ALGORITHMS packet from connection protocol.
server offers auth methods 'publickey,keyboard-interactive,password'.
Ssh2AuthKbdInteractiveClient: Starting kbd-int auth...
Keyboard-interactive:
Password:
Thanks,
Druva
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello All,
I was wondering if the titlebar in "F-Secure SSH Client for Windows" is changeable. Currently I see the host name in the title bar. I would like to add "user@host" to the title. So when I log on to a particular box and do a ssh to another box the title should dynamically... (3 Replies)
Discussion started by: ssikhar
3 Replies
2. Solaris
I am using shell script to do secure ftp. I have done key file setup to do password less authentication. Following are the FTP Details:
FTP Client has Sun SSH.
FTP Server has F-Secure.
I am using SCP Command to do secure copy files. When I am doing this, I am getting the foll error
scp:... (2 Replies)
Discussion started by: ftpguy
2 Replies
3. AIX
If I use SSh Secure File Transfer tool on Windows, I want to transfer file from windows to AIX without password, how to do it? (6 Replies)
Discussion started by: rainbow_bean
6 Replies
4. Windows & DOS: Issues & Discussions
Dear All ,
I want to Access my office computer form the home.
The enviourment is like the following :
1- From my home I connect for the office via VPN connection to Unix server lets say it's IP is 11.11.11.11 and till now every thing is OK and I can access the machine normally .
2- In my... (3 Replies)
Discussion started by: habuzahra
3 Replies
5. UNIX for Advanced & Expert Users
hi,
what is the difference between logging into unix through f-secure ssh client and telnet
is there any more security check is involved
can any one explain
thanks in advance (1 Reply)
Discussion started by: trichyselva
1 Replies
6. Windows & DOS: Issues & Discussions
Hi.
My workstation is Windows. I use putty to connect to unix servers. The problem is that i'm doing it many times a day and each time i need to supply password. I have no control on ssh configuration on servers, because of account restrictions. So i can't use key authentication, how is suggested... (4 Replies)
Discussion started by: kukuruku
4 Replies
7. AIX
I am a new user and i wish to connect to a unix(AIX) server from a windows client using ssh.A detailed solution would be highly appreciated. (1 Reply)
Discussion started by: ajayb3004
1 Replies
8. Red Hat
Hi, I am trying to setup passwordless SSH from Redhat Linux EL 5 to AIX 6 and it worked for few boxes and didn't for few other. Not sure as to why it's happening.
Pl find below the log when i run ssh in verbose mode.
TIA
Reddy
# ssh -v aixora04
OpenSSH_4.3p2, OpenSSL... (3 Replies)
Discussion started by: reddyr
3 Replies
9. Linux
Hi,
i am trying to connect my Putty session on a windows box to a linux SSH, i have generated private and public key pairs using puttygen, i have set the public one to be in an OPENSSH format... and have put this in my authorized_keys file in linux, when i connect i get the following errors:
... (1 Reply)
Discussion started by: Jtyreman
1 Replies
10. UNIX for Advanced & Expert Users
Hi,
I am facing problems whie trying to do a passwordless ssh to Unix box from windows. Public key was generated using F-secure. When the F-secure client attempts it connects without password but when I try to use sftp2 in command line it prompts for password.
I have tried several options and... (0 Replies)
Discussion started by: dhrajj
0 Replies
LEARN ABOUT LINUX
ssh-copy-id
SSH-COPY-ID(1) General Commands Manual SSH-COPY-ID(1)
NAME
ssh-copy-id - install your public key in a remote machine's authorized_keys
SYNOPSIS
ssh-copy-id [-i [identity_file]] [user@]machine
DESCRIPTION
ssh-copy-id is a script that uses ssh to log into a remote machine and append the indicated identity file to that machine's ~/.ssh/autho-
rized_keys file.
If the -i option is given then the identity file (defaults to ~/.ssh/id_rsa.pub) is used, regardless of whether there are any keys in your
ssh-agent. Otherwise, if this:
ssh-add -L
provides any output, it uses that in preference to the identity file.
If the -i option is used, or the ssh-add produced no output, then it uses the contents of the identity file. Once it has one or more fin-
gerprints (by whatever means) it uses ssh to append them to ~/.ssh/authorized_keys on the remote machine (creating the file, and directory,
if necessary.)
NOTES
This program does not modify the permissions of any pre-existing files or directories. Therefore, if the remote sshd has StrictModes set in
its configuration, then the user's home, ~/.ssh folder, and ~/.ssh/authorized_keys file may need to have group writability disabled manu-
ally, e.g. via
chmod go-w ~ ~/.ssh ~/.ssh/authorized_keys
on the remote machine.
SEE ALSO
ssh(1), ssh-agent(1), sshd(8)
OpenSSH 14 November 1999 SSH-COPY-ID(1)