SSH HowTo: Difference between revisions

From LWP-Wiki
Jump to navigation Jump to search
No edit summary
 
Line 1: Line 1:
It's possible to use SSH to connect to your LWP directly.<br>
It's possible to use SSH to connect to your LWP directly.<br>
We have a login server available to access your home directory, so you don't have to leave your own PC turned on. It's not a big machine, so don't use it to do your work on or you'll bother other users trying to access their files.<br>
We have a login server available to access your home directory, so you don't have to leave your own PC turned on. It's not a big machine, so don't use it to do your work on or you'll bother other users trying to access their files.<br>
<br>
The login server '''ssh-hostkeys''':<br>
2048 SHA256:BqwCk82bRDxY3YLkumDcr8d0RKExSCX+zbsgdDyfF4w '''ssh.lwp.rug.nl''' (RSA)<br>
256 SHA256:MfSPCbM20GbH+zMDUAEFzk80vTxF2890ch2EQJjEi3o '''ssh.lwp.rug.nl''' (ED25519)<br>
256 SHA256:Fck7jcOsqDtqcCFncx144z2tt12oMWXD4Jiz0LJbapw '''ssh.lwp.rug.nl''' (ECDSA)<br>
<br>
<br>
== Connecting to the LWP from home with SSH.==
== Connecting to the LWP from home with SSH.==

Latest revision as of 14:21, 28 August 2024

It's possible to use SSH to connect to your LWP directly.
We have a login server available to access your home directory, so you don't have to leave your own PC turned on. It's not a big machine, so don't use it to do your work on or you'll bother other users trying to access their files.

Connecting to the LWP from home with SSH.

Replace ssh.lwp.rug.nl with the hostname or ip-address of the machine you're trying to connect to.

Add your p-number to the allowed users list

On the host you are trying to connect to, add your p-number to the file /etc/users_allowed_ssh.

Set up your own system

Make your life easier by creating a ~/.ssh/config file and adding the following:

host lwp
user <username>
ForwardX11 yes
HostName ssh.lwp.rug.nl or hostname or ip-address

Then connect with:

ssh lwp

Enter your password and you should find yourself in your home directory.