Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #175201
| From | Russell Gadd <russ.mail.lists@gmail.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: How to get ssh to run in daemon script |
| Date | 2016-11-28 22:30 +0100 |
| Message-ID | <sIBER-7sc-9@gated-at.bofh.it> (permalink) |
| References | <sI5vj-3xy-5@gated-at.bofh.it> <sIteh-22H-17@gated-at.bofh.it> <sIBER-7sc-11@gated-at.bofh.it> |
| Organization | A noiseless patient Spider |
On 28/11/16 12:30, Richard Hector wrote: > ... > >> nas doesn't recognise login as authorised user >> Turns out this was the issue - problem solved.For some reason the interactive successful use of ssh must have used my non-root users key even when run by (su) root in a graphical terminal. I needed to send a root public key to the NAS to get it to accept the connection when run from the daemon. /root/.ssh/authorized_keys in the NAS (running some version of Linux) only had the normal user public key. Thanks to all for the replies.
Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread
How to get ssh to run in daemon script Russell Gadd <russ.mail.lists@gmail.com> - 2016-11-27 12:10 +0100
Re: How to get ssh to run in daemon script Nemeth Gyorgy <friczy@freemail.hu> - 2016-11-27 14:00 +0100
Re: How to get ssh to run in daemon script Russell Gadd <russ.mail.lists@gmail.com> - 2016-11-27 22:10 +0100
Re: How to get ssh to run in daemon script Richard Hector <richard@walnut.gen.nz> - 2016-11-28 13:30 +0100
Re: How to get ssh to run in daemon script Russell Gadd <russ.mail.lists@gmail.com> - 2016-11-28 22:30 +0100
csiph-web