Re: quite OT [solved] but interesting

2018-11-10 Thread James Linder
After lots of hunting I re-installed high sierra from scratch. Public key DID work. I slowly restored from a time machine backup until it stopped working. The culprit was .ssh directory. I put the working .ssh dir back and copied my id’s and config to the working .ssh dir. Public key still

Re: quite OT (James)

2018-09-06 Thread Jan Stary
On Sep 06 12:41:56, j...@tigger.ws wrote: > This does not (identical keys and config files) The sshd from the openssh port uses a different config. > [haycorn] /Users/jam [291]% sshd --help > OpenSSH_7.6p1, OpenSSL 1.0.2p 14 Aug 2018 What happens if you run the ysstem sshd on haycorn?

Re: quite OT (James)

2018-09-06 Thread Jan Stary
On Sep 06 12:41:56, j...@tigger.ws wrote: > Hi All > > just in case this is the issue, both machines being “up to date”, and it > affects others > > This works (passwd-less login): > > [pussycat] /Users/mary [501]% sshd --help > OpenSSH_7.5p1, LibreSSL 2.5.4 This is presumably the system sshd

Re: quite OT

2018-09-06 Thread Jan Stary
On Sep 06 11:40:41, j...@tigger.ws wrote: > > What is the difference between what this server says in the logs, > > and what the previous server says in the logs? > > I was able to do password-less login to another High Sierra machine > exactly as you would expect !!! Yes, we already know that.

Re: quite OT (James)

2018-09-05 Thread James Linder
Hi All just in case this is the issue, both machines being “up to date”, and it affects others it is not an issue no more noise I promise --- This works (passwd-less login): [pussycat] /Users/mary [501]% sshd --help OpenSSH_7.5p1,

Re: quite OT

2018-09-05 Thread Jan Stary
Just to be sure: as your ~/.ssh/authorized_keys only contains this one pubkey, the file should be identical to the corresponding ~/.ssh/id_rsa.pub on the client side. Please verify that it is haycorn$ cksum ~/.ssh/authorized_keys twill$ cksum ~/.ssh/id_rsa.pub On Sep 05 08:08:29, h...@stare.cz

Re: quite OT

2018-09-05 Thread Jan Stary
> [twill] /Users/jam [230]% ssh -vv haycorn.home > [versions match etc] > debug1: Authentications that can continue: publickey,password > debug1: Next authentication method: publickey > debug1: Offering public key: RSA > SHA256:/FjP5L3Grrw1P4KXIq5SsfkEy5RWhmeVehgG5+8k5rk /Users/jam/.ssh/id_rsa >

Re: quite OT

2018-09-04 Thread James
> On 4 Sep 2018, at 8:00 pm, macports-users-requ...@lists.macports.org wrote: > > On Sep 03 21:50:35, j...@tigger.ws wrote: >> Jan I must assume that you have never done a password-less login >> to a high sierra machine and the tone of your questions betrays that. > >

Re: quite OT

2018-09-03 Thread Jan Stary
> Password-less login to 10.13.6 works for me just fine, > with the method described above (put your *.pub to the authorized_keys). > That's the system /usr/sbin/sshd, which is OpenSSH_7.6, LibreSSL 2.6.2. > Below is a log of such a session, from OpenBSD 6.3 to MacOS 10.13.6. Same works between

Re: quite OT

2018-09-03 Thread Jan Stary
On Sep 03 21:50:35, j...@tigger.ws wrote: > Jan I must assume that you have never done a password-less login > to a high sierra machine and the tone of your questions betrays that. Password-less login to 10.13.6 works for me just fine, with the method described above (put your *.pub to the

Re: no longer quite OT

2018-09-03 Thread Bill Cole
On 3 Sep 2018, at 1:04 (-0400), James wrote: Hi All since I’ve been unable to solve passwd-less login on High Sierra I installed port openssh. All good except I have two daemons waiting on port 22. Which is, of course, not possible. Apple's SSH suite in High Sierra is OpenSSH_7.6p1,

Re: no longer quite OT

2018-09-03 Thread James
> On 3 Sep 2018, at 8:00 pm, macports-users-requ...@lists.macports.org wrote: > > System Settings -> Sharing -> Remote Access > > ...or something close to that will dis/enable native sshd in OSX (not on my > laptop, so may be a wee bit imprecise). > >> On Sep 2, 2018, at 10:04 PM, James

Re: quite OT

2018-09-03 Thread James
Top Posting as all the noise below may be of interest, but it may not be. Actually re-reading my post shows my irritation with Jan’s post. I guess that I’m here because of a significant and so far insoluable problem and I welcome any ideas or caveats, I think his tone trivializes my angst,

Re: quite OT

2018-09-03 Thread Jan Stary
On Sep 01 14:24:34, j...@tigger.ws wrote: > but directly related to a port What port? > I want password-less ssh login Create a password-less key and copy it into ~/.ssh/authorized_keys on the remote site. Make sure that ~/.ssh is chmod 700 and authorized_keys is chmod 600 if you are creating

Re: no longer quite OT

2018-09-03 Thread Richard L. Hamilton
As for password-less, you don't need MacPorts sshd for that. Some OS versions back, that just worked. Now you have to do a little bit to make it work (outgoing - it still works incoming, with the usual measures, give or take something odd in /etc/ssh/sshd_config). Here's some discussion

Re: no longer quite OT

2018-09-03 Thread Bill Parducci
System Settings -> Sharing -> Remote Access ...or something close to that will dis/enable native sshd in OSX (not on my laptop, so may be a wee bit imprecise). > On Sep 2, 2018, at 10:04 PM, James wrote: > > Hi All > since I’ve been unable to solve passwd-less login on High Sierra I

no longer quite OT

2018-09-02 Thread James
Hi All since I’ve been unable to solve passwd-less login on High Sierra I installed port openssh. All good except I have two daemons waiting on port 22. I can easily find the LaunchDaemon for openssh but I cannot fathom how apple run their ssh daemon, or even what it is called. I miss

Re: quite OT

2018-09-01 Thread Dave Horsfall
On Sat, 1 Sep 2018, James wrote: but directly related to a port Where can I ask questions on mac stuff? Which is pretty much what I do i.e. tie it to MacPorts somehow :-) I elaborate: I want password-less ssh login i usually copy the public key by hand, but I also used ssh-copy-id I've

quite OT

2018-09-01 Thread James
but directly related to a port Where can I ask questions on mac stuff? I elaborate: I want password-less ssh login i usually copy the public key by hand, but I also used ssh-copy-id from 1_mac to another from 1_mac to itself from 1_mac to a plethora of linux machines and virtual machines