Login
Connecting from DVC lab PCs
- Open
CMD or PowerShell
- run the command:
ssh user@host
user is your class account name, e.g. sp26u99
host is slackstu.net
- the first time you connect you will be asked to save the host key, answer
yes
- to avoid idle timeouts run the command this way:
ssh -o ServerAliveInterval=60 user@host
Connecting from other locations using MacOS, Linux/UNIX, Windows 10 or later
- open a terminal
- Mac: Open
Terminal (in Applications/Utilities)
- Linux/UNIX: Use the character console or open any terminal in the GUI
- Windows: Open
CMD or PowerShell
- before your first connection run (from your normal user account) the command:
ssh-keygen
- hit Enter to choose defaults for file and passphrase
- this will create a pair of keys in your home directory
- run this command only once, if you run it again your previous keys will not work
- copy the public key (
id_rsa.pub or id_ed25519.pub) in .ssh and email it to sfogg@dvc.edu
- (wait for an email reply before attempting to connect)
- do not do anything with the private key or
.ssh directory
- run the command:
ssh user@host
user is your class account name, e.g. sp26u99
host is slackstu.net
- the first time you connect you will be asked to save the host key, answer
yes
- to avoid idle timeouts run the command this way:
ssh -o ServerAliveInterval=60 user@host
Logging In
- if you see a
login: prompt type your user name, e.g. sp26u99, then Enter
- at the
password prompt type your password, e.g. abcd1234, then Enter
- the password characters will not show as you type
- most systems will give you only 60 seconds to enter your password
Logging Out
- at the shell prompt type: Ctrl+d,
exit, or logout
- you should logout before closing your terminal or leaving your computer