On 11/27/2016 11:02 AM, Gene Heskett wrote: > On Sunday 27 November 2016 08:12:38 Mark wrote: > >> And that "xhost +" command opens up your machine to the world. If you >> are going to use native X rather than an encrypted connection through >> ssh, at least narrow that down by using "xhost + >> <machine_you_wish_display_to_be_on>". >> >> <snipagge> >> >>> Cheers Matsche >> Cheers, >> Mark > One last detail before I go out to see why ssh'ing into the raspi has > died. I made the mistake of rebooting it and its pingable but refusing > connections. So I've undone the sshd_config stuff on the rest of the > machines, but I'll have to plug console and hdmi cables into it to do > that in person. > > Then the question is, do I have to be logged into the machines for this > to work, or, can I put this stuff in the rc.local files so its just done > when I power up the whole thing with one dpst 30 amp switch? > Gene,
Simply changing the sshd_config shouldn't require a reboot. You should be able to just restart the ssh server daemon. If it doesn't come up, it sounds like a typo. You should be able to run 'sshd -T" to test your config files before restarting to see if there are any problems before restarting the server daemon. Not sure what you mean by having to be logged in though. You can make the changes, test them, then restart the daemon if successful on the test. The restart of the daemon will kick you out, but if the test was successful, you should be able to log back in. The config files in the /etc/ssh directory are where everything needs to go, configuration wise. The rc.local files are just startup file with certain options to be passed to the server daemon as it starts up. You shouldn't have any configuration parameters there. > Waiting for the coffee to kick in. > > Thanks Mark. > > Cheers, Gene Heskett Cheers, Mark ------------------------------------------------------------------------------ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users