Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unable to use ssh

23 views
Skip to first unread message

Abhishek Sinha

unread,
Apr 17, 2013, 5:44:08 AM4/17/13
to
Dear sir,

We have two different PCs
1. having ubuntu-12.10
2. having ubuntu-9.04

we want to run linux commands on one of the PCs using the other.
We tries to install ssh client in one pc and ssh server in another.
we set passphrase using the keygen commands on both the pcs.
but despite everything, we are getting the following error on the client pc when tried the reboot command..
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
Warning:Remote Host Identification has changed
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@

when we tried to copy the id from the server pc to client pc, we got the following error:
/usr/bin/ssh-copy-id: Error: No identities found.

Please help. We think we have installed properly. Is any configuration required???

Simon Quantrill

unread,
Apr 28, 2013, 2:46:02 AM4/28/13
to
it should just be case of installing openssh-server on both machines
(aptitude install openssh-server)

once you have this you will have a use say user@ub12:10 this user would
create ssh keys this key set is assigned to this user on this machine
if you want to login to the ub9:04 and you have the password then from
ub12:04 ssh-copy-id <username>@ub9:04 this will copy the first users
key to the other machine you should now be ok to log in ..

If this doesnt work please post you sshd_config from both machines

If you sure its not a security issue make sure yu remove
authorized_keys from the machine you are connecting from this will
avoid any mishaps!

--

Simon
----
PGP Key: D6535CF1
BLOG: http://simon.quantrill.eu


0 new messages