10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
i am getting host key verification failed error.
# cat id_rsa.pub | ssh email@example.com 'cat >> .ssh/authorized_keys;exit;'
cat: id_rsa.pub: No such file or directory
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! ... (3 Replies)
Discussion started by: scriptor
It seems I can do ssh <IP> but not ssh <hostname>
If I try to ssh to hostname I get the error - No DSA host key is known for host1 and you have requested strict checking.
Host key verification failed.
Where do I set up the DSA keys? Is it ssh_known_hosts?
Assume afterwards I can... (3 Replies)
Discussion started by: psychocandy
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)
Discussion started by: aixlover
4. UNIX for Dummies Questions & Answers
We are trying to make a key-based authentication from Server A to Server B.
Server A is installed with openshh. Server B runs "Sun_SSH_1.1".
Server A's rsa2 public key has been added into the server B's authorized_keys.
We are sure that permission settings of the files and folders in... (1 Reply)
Discussion started by: rprajendran
5. UNIX for Dummies Questions & Answers
I am encountering below mentioned exception when I execute my Java program that is supposed to SFTP the file from one server over to another.
Can you please tell me some pointers to resolve this issue?
HostName- 10.1.1.1 ; userName- bmsftp
log4j:WARN No appenders could be... (0 Replies)
Discussion started by: prashant.ladha
6. Shell Programming and Scripting
I am running a script to scp a file from one server to another.
I have created the public/private key and copied the public key to the other server and appended it to authorized_key file.
But i am getting the error message saying "Host Key verification failed" Connection lost.
It works well... (3 Replies)
Discussion started by: ahamed
7. UNIX for Advanced & Expert Users
I do a ssh to remote host(A1) from local host(L1). I then ssh to another remote(A2) from A1.
When I do a who -m from A2, I see the "connected from" as "A1".
=> who -m
userid pts/2 2010-03-27 08:47 (A1)
I want to identify who is the local host who initiated the connection to... (3 Replies)
Discussion started by: gomes1333
8. Shell Programming and Scripting
I want to use ssh to add a register key on remote ssh server. Since there are space characters in my register key string, it always failed. If there is no space characters in the string, it worked fine. The following is what I have tried. It seems that "ssh" command doesn't care about double... (9 Replies)
Discussion started by: leaftree
9. UNIX for Advanced & Expert Users
How do i add RSA key for a host ?
I was able to connect to a host some time back but now its not connectable ,via SSH.
Message i get is :
abhi@myHost:~/.ssh> ssh eatcid@yourHost
@ WARNING: REMOTE HOST IDENTIFICATION... (3 Replies)
Discussion started by: ak835
10. UNIX for Dummies Questions & Answers
Hi, I was wondering how to change the prompt for my ssh login. At the moment it is like
while I'd like it to be as
It is in the .bash_profile or .ssh ??? Thanks (2 Replies)
Discussion started by: pmasterkim
SSH-COPY-ID(1) BSD General Commands Manual SSH-COPY-ID(1)
ssh-copy-id -- copy public keys to a remote host
ssh-copy-id [-lv] [-i keyfile] [-o option] [-p port] [user@]hostname
The ssh-copy-id utility copies public keys to a remote host's ~/.ssh/authorized_keys file (creating the file and directory, if required).
The following options are available:
Copy the public key contained in file. This option can be specified multiple times and can be combined with the -l option. If a
private key is specified and a public key is found then the public key will be used.
-l Copy the keys currently held by ssh-agent(1). This is the default if the -i option was not specified.
Pass this option directly to ssh(1). This option can be specified multiple times.
Connect to the specified port on the remote host instead of the default.
-v Pass -v to ssh(1).
The remaining arguments are a list of remote hosts to connect to, each one optionally qualified by a user name.
The ssh-copy-id utility exits 0 on success, and >0 if an error occurs.
To send a specific key to multiple hosts:
$ ssh-copy-id -i /path/to/keyfile.pub user@host1 user@host2 user@host3
The ssh-copy-id utility was written by Eitan Adler <eadler@FreeBSD.org> as a drop-in replacement for an existing utility included with
February 28, 2014 BSD