User Tools

Site Tools


usersguide:postinstallation

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
usersguide:postinstallation [2016/03/14 19:35]
ad001 Added a link to network configuration to the hostname section.
usersguide:postinstallation [2017/05/25 06:34]
clarkleach [Getting OpenSSH and Logging in Remotely with It]
Line 51: Line 51:
  
 ===== Getting OpenSSH and Logging in Remotely with It ===== ===== Getting OpenSSH and Logging in Remotely with It =====
-The PKGSRC OpenSSH package contains both the client (ssh) and the daemon (sshd). ​To install it after you have done pkgin update, type: pkgin install openssh. Then type: reboot to start the daemon. ​We recommend installing this, as it allows ssh access from another host, which improves greatly the user experience in the absence of X11. If you are planning to install the common packages (see next section), then you need not install ssh separately since it is part of the first set.+[[https://​wiki.netbsd.org/​guide/​rc/#​index4h2|rc.d scripts of 
 +additional services]]:​ 
 + 
 +The PKGSRC OpenSSH package contains both the client (ssh) and the daemon (sshd). ​ We recommend installing this, as it allows ssh access from another host, which improves greatly the user experience in the absence of X11.
  
 If you installed MINIX in a virtual machine, please refer to the [[usersguide:​start | Virtualization]] chapter for your virtual machine monitor of this user guide for further instructions on how to enable network access to the MINIX guest. If you installed MINIX in a virtual machine, please refer to the [[usersguide:​start | Virtualization]] chapter for your virtual machine monitor of this user guide for further instructions on how to enable network access to the MINIX guest.
  
-To access MINIX 3 via sshnote the IP address in the promptsayaaa.bbb.ccc.ddd, and proceed as follows:\\ +To installstartand automatically start sshddo these commands, referring to [[https://​wiki.netbsd.org/​guide/​rc/#​index4h2|rc.d scripts of 
 +additional services]] for explanation:​
 <​code>​ <​code>​
 # pkgin update # pkgin update
 # pkgin install openssh # pkgin install openssh
-user add -m mary +cp /​usr/​pkg/​etc/​rc.d/​sshd /etc/rc.d/ 
-shutdown -r now +printf '​sshd=YES\n' ​>> /etc/rc.conf 
-</code> +/etc/rc.d/sshd start
- +
-where "​mary"​ is the name of the user you want to log in as (if it does not already exist)Then on a different computer, type: \\ +
-<​code>​ +
-ssh mary@aaa.bbb.ccc.ddd+
 </​code>​ </​code>​
  
Line 77: Line 76:
 pkgin_sets pkgin_sets
 </​code>​ </​code>​
-Note that don'​t ​have to run pkgin update every time you run pkgin. Just before the first use.+Note that you don'​t ​need to run pkgin update every time you run pkgin. Just before the first use.
  
  
usersguide/postinstallation.txt · Last modified: 2017/05/25 14:59 by clarkleach