Re: [opensuse] Clueless about SSH
- From: "David C. Rankin" <drankinatty@xxxxxxxxxxxxxxxxxx>
- Date: Thu, 30 Oct 2008 17:21:29 -0500
Bob Williams wrote:
On Thursday 30 October 2008 19:45:25 David C. Rankin wrote:
Bob Williams wrote:Hello, David :)
My user name is bob on the desktop and robert on the laptop. The twoAhah! Bingo!
machines are connected together by ethernet through my router, so port
redirection is not involved.
Look at your ~/.ssh/authorized_keys file! I bet you will find robert@host
at the end of the line in the desktop file and bob@host in the
~/.ssh/authorized_keys on your laptop.
Edit your authorized_keys file and either correct the names or simply
delete the space and robert@host after the == Like this:
osW/BdzA== robert@host
^^^^^^^^^^^^
delete every thing over the ^^^^ and try again ;-)
or change robert to bob. The names have to match the account on the
machine or delete them
Many thanks, BobYour welcome
You're right about the names, as you state above. However, the problem lay
elsewhere, a mismatch between ssh_host_key.pub on one machine and the contents
of known_hosts on the other.
So, I've got ssh working in both directions, but my next problem is that scp
won't accept any of my user login passwords. I thought it used the same
underlying mechanism as ssh.
I've tidied up all my public keys as you suggested in an earlier post.
Thanks,
Bob
scp does use the same ssl mechanism. Delete all of the known_hosts files and
try scp and ssh again. The known_hosts file will automatically be recreated the
first time the foreign connection is made the next time..
Generally, when known_hosts has a conflict, you will get an error due to the
strict checking option that says something like: Offending key in known_hosts
blah, blah, blah... the offending key is :#" At that point you simply edit
known hosts and delete line #.
Try this and then will look further.
--
David C. Rankin, J.D., P.E.
Rankin Law Firm, PLLC
510 Ochiltree Street
Nacogdoches, Texas 75961
Telephone: (936) 715-9333
Facsimile: (936) 715-9339
www.rankinlawfirm.com
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- Follow-Ups:
- Re: [opensuse] Clueless about SSH
- From: Bob Williams
- Re: [opensuse] Clueless about SSH
- References:
- [opensuse] Clueless about SSH
- From: Bob Williams
- Re: [opensuse] Clueless about SSH
- From: Bob Williams
- Re: [opensuse] Clueless about SSH
- From: David C. Rankin
- Re: [opensuse] Clueless about SSH
- From: Bob Williams
- [opensuse] Clueless about SSH
- Prev by Date: Re: [opensuse] Slots ?
- Next by Date: [opensuse] MKL (Math Kernel Library)
- Previous by thread: Re: [opensuse] Clueless about SSH
- Next by thread: Re: [opensuse] Clueless about SSH
- Index(es):
Relevant Pages
|