Author Topic: How to talk to a Peppermint - or not. [SOLVED]  (Read 4632 times)

0 Members and 1 Guest are viewing this topic.

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1441
  • Karma: 20
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: How to talk to a Peppermint - or not.
« Reply #15 on: August 02, 2014, 02:14:27 pm »
Problem fixed!!

From D505 I entered:
[email protected] ~/.ssh $ ssh-keygen -f "/home/keith/.ssh/known_hosts" -R dt0
/home/keith/.ssh/known_hosts updated.

then ssh dt0 and it logged on to dt0 succesfully.   I am not entirely sure what I've done (reset the key list?) but everything is working fine in both directions. 

Samba has its uses ( a friend is already interested, and I am an expert, aren't I?) and will extend the range of facilities available to me. 
My thanks for everyone's help. 

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 479
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • Awards
Re: How to talk to a Peppermint - or not. [SOLVED]
« Reply #16 on: August 03, 2014, 01:07:56 am »
you removed (-R) all keys belonging to hostname "dt0" from key file (-f) "/home/keith/.ssh/known_hosts"

See:
Code: [Select]
man ssh-keygen
(then read what the -f and -R options do for that command .. BTW, you can exit a manpage with the "Q" key)

It's really handy to check a commands "man" page and try to work out what a command is doing .. I found that an invaluable learning method, it also teaches you how manpages are formatted .. you'll soon find yourself using them extensively :)



Anyway happy to hear you solved it :)
« Last Edit: August 03, 2014, 01:10:55 am by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

The Linux Community Forum

Re: How to talk to a Peppermint - or not. [SOLVED]
« Reply #16 on: August 03, 2014, 01:07:56 am »

Offline Keith

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1441
  • Karma: 20
  • Gender: Male
  • Linux Novice
    • View Profile
    • Awards
Re: How to talk to a Peppermint - or not. [SOLVED]
« Reply #17 on: August 03, 2014, 08:14:06 am »
Hi Mark.  Thank you for the explanation of the command. 

As for the man pages:  I  use them a lot but have to say that, generally, I find them of little use to me as they seem written more as an aide memoire for people who already know what they are doing (although to be fair the page on this command is unusually helpful!).  The very few man pages that carry examples of use are like hens teeth.  I found somewhere a reference to a book on terminal commands which I think would be a better bet for me, if I can find it again. 

"Examples of use" reminds me that I taught myself Fortran 4 (yes, 4) from the IBM manual which explained every command with four examples of good use and four examples of common errors of use.  The best computing manual I have ever read. 

Anyway, I am enjoying my foray into Linux principally due to the help and advice I receive from you and others like Graeme - for which I am most grateful, as usual.
'Bye for now.
    Keith
« Last Edit: August 03, 2014, 08:16:09 am by Keith »

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal