VPSMATE

  • HOME
  • NEWS
  • VPS
  • DEDICATED
  • ARCHIVES
  • GoDaddy
  • SCRIPT
  • TOOLS
    • Traceroute
    • Benchmark
    • Useful Sites
  • Themes
  • GFW
VPSMATE
VPS COUPON & PROMOS | VPS & DEDICATED SERVERS OFFERS | VPS REVIEWS
  1. Main page
  2. Tips
  3. Main content

Starting SSH service in Backtrack

02/09/2013 7239hotness 0likes 0comments

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
[email protected]:~#

Related

Tag: Backtrack SSH Tips
Last updated:08/09/2013

kyaky

This person is a lazy dog and has left nothing

Like
< Last article
Next article >

Comments

Cancel

This site uses Akismet to reduce spam. Learn how your comment data is processed.

COPYRIGHT © 2021 vpsmate.net. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang