User Tools

Site Tools


usersguide:settingupssh

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

usersguide:settingupssh [2014/11/11 14:52]
127.0.0.1 external edit
usersguide:settingupssh [2014/11/11 16:18] (current)
lionelsambuc
Line 1: Line 1:
 +====== Setting Up SSH ======
 +
 +The following steps must be done as //root//.
 +
 +  * OpenSSH
 +
 +<​code>​
 +pkgin install openssh
 +</​code>​
 +
 +  * Customize settings
 +
 +  Optionally, edit ///​usr/​pkg/​etc/​ssh/​sshd_config//​.
 +
 +  * Start //sshd//
 +
 +<​code>​
 +reboot
 +</​code>​
 +
 +or
 +
 +<​code>​
 +sh /​usr/​pkg/​etc/​rc.d/​sshd start
 +</​code>​
 +
 +Security keys will be created automatically.
 +
 +  * If SSH connections fail...
 +
 +Check if the //sshd// daemon is running.
 +
 +<​code>​
 +ps ax | grep sshd
 +</​code>​
 +
 +Next, check that it's listening to the appropriate port.
 +
 +<​code>​
 +tcpstat -a | grep ssh
 +</​code>​
  
usersguide/settingupssh.txt · Last modified: 2014/11/11 16:18 by lionelsambuc