hi all,
I want sshd to be run automatically when connected on a network.
I know that I can generate keys as root by the ssh-keygen -A command and
I can start it with the absolute path by the /usr/sbin/sshd start command.
But I don't know how to automate this.
Thanks by advance.
Launch sshd automatically at boot time [SOLVED]
-
- White ninja
- Posts: 14
- Joined: 29 Nov 2015, 10:05
- Distribution: Linux Porteus 3.17.4
- Location: france
Launch sshd automatically at boot time [SOLVED]
Last edited by djt on 30 Nov 2015, 21:56, edited 2 times in total.
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: sshd
chmod +x /etc/rc.d/rc.sshd
Any executable in this folder is run at startup with the start argument.
Any executable in this folder is run at startup with the start argument.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: sshd
Great. Please add [SOLVED] to the title, and give the title a more meaningful name so that it might helps others with the same questions in the future.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.