wholesale jerseys nba jersey discounts ncaa college jerseys nfl cheap jerseys with free shipping nfl authentic football jerseys new york giants apparel cheap wholesale jerseys

Starting SSH service in Backtrack

Starting SSH service

BackTrack has various services such as Apache, SSH, MySQL, VNC, etc. They are all disabled by default. To start a service such as SSH, you can use the service init scripts. For example, to start the SSH service:

[email protected]:~# sshd-generate  # Specific to the SSH service - needed to generate SSH keys
[email protected]:~# /etc/init.d/ssh start
Starting OpenBSD Secure Shell server: sshd.
[email protected]:~# /etc/init.d/ssh stop
Stopping OpenBSD Secure Shell server: sshd.
[email protected]:~#

When using a ssh server for the first time on Backtrack you will need to generate keys:

[email protected]:~# sshd-generate

To enable a service at boot time, you can use the?update-rc.d?command, for example, having SSH start at boot time:

[email protected]:~# update-rc.d -f ssh defaults
Adding system startup for /etc/init.d/ssh ...
/etc/rc0.d/K20ssh -> ../init.d/ssh
/etc/rc1.d/K20ssh -> ../init.d/ssh
/etc/rc6.d/K20ssh -> ../init.d/ssh
/etc/rc2.d/S20ssh -> ../init.d/ssh
/etc/rc3.d/S20ssh -> ../init.d/ssh
/etc/rc4.d/S20ssh -> ../init.d/ssh
/etc/rc5.d/S20ssh -> ../init.d/ssh
root[email protected]:~#

make a comment

(opt)