ssh2 troubles


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers ssh2 troubles
# 1  
Old 03-03-2006
ssh2 troubles

I'm trying to set up a secure and trusted connection between 2 boxes running solaris using ssh2.

I've run ssh-keygen2 on the local box and on the remote box, created the identification file ( IdKey id_dsa_2048_a ) on the local machine and copied across the public key file from the local to the remote box and set up the authorization file to show this ( all in the $HOME/.ssh2 directories )....

But everytime I try to run ' ssh2 <user>@<localmachine>.<domain> ' I get back this :

Host key not found from database.
Key fingerprint:
xibec-giryc-gygez-saluh-vytil-kisen-metot-mokob-sepet-bapim-zixex
You can get a public key's fingerprint by running
% ssh-keygen -F publickey.pub
on the keyfile.
Are you sure you want to continue connecting (yes/no)?


If you type "yes" it asks for the password, which is obviously not what I need...

Can anybody help ????????? Smilie
# 2  
Old 03-03-2006
Quote:
Originally Posted by PaulC
I'm trying to set up a secure and trusted connection between 2 boxes running solaris using ssh2.

I've run ssh-keygen2 on the local box and on the remote box, created the identification file ( IdKey id_dsa_2048_a ) on the local machine and copied across the public key file from the local to the remote box and set up the authorization file to show this ( all in the $HOME/.ssh2 directories )....

But everytime I try to run ' ssh2 <user>@<localmachine>.<domain> ' I get back this :

Host key not found from database.
Key fingerprint:
xibec-giryc-gygez-saluh-vytil-kisen-metot-mokob-sepet-bapim-zixex
You can get a public key's fingerprint by running
% ssh-keygen -F publickey.pub
on the keyfile.
Are you sure you want to continue connecting (yes/no)?


If you type "yes" it asks for the password, which is obviously not what I need...

Can anybody help ????????? Smilie

Is it not ssh remotemachine ??
# 3  
Old 03-03-2006
make sure the .ssh directory on the remote machine has permissions of 700 and the authorized_keys file has permissions of 600.
# 4  
Old 03-06-2006
Quote:
Originally Posted by bhargav
Is it not ssh remotemachine ??
Oops, that what I meant.....



I've checked the permissions and they are all fine.

This is driving me nuts, it's probably something simple but I can'put my finger on it...

Smilie
# 5  
Old 03-07-2006
OK, making some head way here...

I can now access the remote machine without a password, but it now asks me for the Passphrase for the key everytime I log in.

I'm assuming this is a permission on a file that needs changing somewhere...

Any ideas anyone ??
# 6  
Old 03-07-2006
This means that when the key was generated, a pass-phrase was used. You have to regenerate the key, and when it asks for the pass-phrase, just press enter. This will mean an empty pass-phrase and a non-interactive script.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Ssh2 key has been overwritten, need a way to restore

I had generated a ssh2 key on my AIX box, to receive files from other AIX and Linux systems. Key Name: id_ssh2_server.pub However this ssh2 key (both public and private keys) has been overwritten, while I was generating another ssh2 key. Now the earlier configured target systems are not able... (3 Replies)
Discussion started by: freakygs
3 Replies

2. Solaris

SFTP from SSH2 to SSH

Hi, Earlier, I have configured SFTP successfully in my prev jobs. This time I have to configure SFTP for local server (uses SSH2) and remote server (uses SSH). I tried to search the forum. I did not find the right thread. I appreciate your help. The following is the additional info >... (5 Replies)
Discussion started by: bobbygsk
5 Replies

3. Shell Programming and Scripting

Using SSH2 in windows

I have Windows server setups consisting two servers to work on. I have to run a batch file on server 2 (say, Batch2) by running a batch file on server 1 (Say, Batch1). We have Tectia SSH server-client setup. Could anyone please tell the script/code for Batch1? (1 Reply)
Discussion started by: sakha83
1 Replies

4. UNIX for Dummies Questions & Answers

can we run ssh2 in background

Hi, I was trying to run ssh2 command in background... but i got follwoing error message saying that process has been stopped.. + Stopped(SIGTTOU) Anyone have any idea about this??? Appreciated your help.. (3 Replies)
Discussion started by: pvamsikr
3 Replies

5. UNIX for Dummies Questions & Answers

ssh1 ssh2 how to tell which version i have?

upon entering the command:ssh -v I get this:OpenSSH_4.4p1, OpenSSL 0.9.8d 28 Sep 2006 how do i identify whether or not i have ssh1 or ssh2? thanks in advance (10 Replies)
Discussion started by: EWTGPAC
10 Replies

6. Cybersecurity

openssh to ssh2 interoperability

I have openssh identity and identity.pub which work well on many machines to uniquely identify myself. I want to put these on a host (Tru64) using ssh2. I can convert the public key to ssh2 format using "ssh-keygen -e" on an openssh box. How should I convert the private key? (2 Replies)
Discussion started by: porter
2 Replies

7. UNIX for Advanced & Expert Users

SSH2 Authentication with OpenSsh

Hi Can anyone help resolving the issue here? I am trying to connect from one unix server(ssh2) to another unix server using (Openssh). I converted the public key from ssh2 to openssh format and uploaded it. Yet it is asking for a password to connect. Here is the debug info: ... (0 Replies)
Discussion started by: jazjit
0 Replies

8. UNIX for Dummies Questions & Answers

ssh2 & sftp help

Hi, I need to implement sftp between server 1 and server2. I have already generated the public key using account user1 on server 1 and and sent it to the administrator of server2. I have also finished updating the identification file at /home/user1/.ssh2 I have an account created... (11 Replies)
Discussion started by: tansha
11 Replies

9. AIX

SSH2 help !!!!

Hi, I need to implement sftp between server 1 and server2. I have already generated the public key using account user1 on server 1 and and sent it to the administrator of server2. I have also finished updating the identification file at /home/user1/.ssh2 I have an account created... (2 Replies)
Discussion started by: tansha
2 Replies

10. Shell Programming and Scripting

Can't Delete File using ssh2

hi, i am getting error while executing the follwoing command. /usr/local/bin/ssh2 user@hostname find /test/DeleteFile -mtime +10 -exec rm {} \; error is : find: 0652-018 An expression term lacks a required parameter. it is deleting the files from the specified location. it is working... (2 Replies)
Discussion started by: Sunil Rajput
2 Replies
Login or Register to Ask a Question