nick@Vaxis:~$ su ntoothma Password: ntoothma@Vaxis:/home/nick$ cd ntoothma@Vaxis:~$ pwd /home/ntoothma ntoothma@Vaxis:~$ ls -al total 24 drwxr-xr-x 2 ntoothma ntoothma 4096 Mar 6 13:06 . drwxr-xr-x 4 root root 4096 Mar 6 12:55 .. -rw------- 1 ntoothma ntoothma 55 Mar 6 13:06 .bash_history -rw-r--r-- 1 ntoothma ntoothma 220 Mar 6 12:55 .bash_logout -rw-r--r-- 1 ntoothma ntoothma 3771 Mar 6 12:55 .bashrc -rw-r--r-- 1 ntoothma ntoothma 807 Mar 6 12:55 .profile ntoothma@Vaxis:~$ mkdir .ssh ntoothma@Vaxis:~$ ls -al total 28 drwxr-xr-x 3 ntoothma ntoothma 4096 Mar 6 13:06 . drwxr-xr-x 4 root root 4096 Mar 6 12:55 .. -rw------- 1 ntoothma ntoothma 55 Mar 6 13:06 .bash_history -rw-r--r-- 1 ntoothma ntoothma 220 Mar 6 12:55 .bash_logout -rw-r--r-- 1 ntoothma ntoothma 3771 Mar 6 12:55 .bashrc -rw-r--r-- 1 ntoothma ntoothma 807 Mar 6 12:55 .profile drwxrwxr-x 2 ntoothma ntoothma 4096 Mar 6 13:06 .ssh ntoothma@Vaxis:~$ chmod 700 .ssh ntoothma@Vaxis:~$ ls -la total 28 drwxr-xr-x 3 ntoothma ntoothma 4096 Mar 6 13:06 . drwxr-xr-x 4 root root 4096 Mar 6 12:55 .. -rw------- 1 ntoothma ntoothma 55 Mar 6 13:06 .bash_history -rw-r--r-- 1 ntoothma ntoothma 220 Mar 6 12:55 .bash_logout -rw-r--r-- 1 ntoothma ntoothma 3771 Mar 6 12:55 .bashrc -rw-r--r-- 1 ntoothma ntoothma 807 Mar 6 12:55 .profile drwx------ 2 ntoothma ntoothma 4096 Mar 6 13:06 .ssh ntoothma@Vaxis:~$ cd .ssh ntoothma@Vaxis:~/.ssh$ ssh-keygen -t ed25519 Generating public/private ed25519 key pair. Enter file in which to save the key (/home/ntoothma/.ssh/id_ed25519): artemis Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in artemis Your public key has been saved in artemis.pub The key fingerprint is: SHA256:GgsLJ7An0FNLFpDuukheTM35HaVVWtMWNF5YLQ86WvM ntoothma@Vaxis The key's randomart image is: +--[ED25519 256]--+ | .o=. +o*=| | ..+ . + *o+| |o.o . + ..= | |.o..o . + = .| |o.+.o+. So o + | | o++ o.+. o E | | o o. o. . | |= . | |oo | +----[SHA256]-----+ ntoothma@Vaxis:~/.ssh$ ls -al\ total 16 drwx------ 2 ntoothma ntoothma 4096 Mar 6 13:08 . drwxr-xr-x 3 ntoothma ntoothma 4096 Mar 6 13:06 .. -rw------- 1 ntoothma ntoothma 411 Mar 6 13:08 artemis -rw-r--r-- 1 ntoothma ntoothma 96 Mar 6 13:08 artemis.pub ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ cat artemis.pub ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHb4333AUKWw9nbnSJwkRUqO8TIb1lPFe2Qyujc3MOMo ntoothma@Vaxis ntoothma@Vaxis:~/.ssh$ cat artemis.pub | ssh nick@artemis.cs.csub.edu "cat >> .ssh/authorized_keys" The authenticity of host 'artemis.cs.csub.edu (136.168.201.104)' can't be established. ECDSA key fingerprint is SHA256:9OmlBmKM6AK2/wZqhmWSmptxtkppFYxzSdBruFbf+AM. Are you sure you want to continue connecting (yes/no/[fingerprint])? yes Warning: Permanently added 'artemis.cs.csub.edu,136.168.201.104' (ECDSA) to the list of known hosts. nick@artemis.cs.csub.edu's password: ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ssh nick@artemis.cs.csub.edu nick@artemis.cs.csub.edu's password: ntoothma@Vaxis:~/.ssh$ vim config Host56a7r8t9e10m1i2s32,1 2-9^[ 2,1-8All^[ ^[ dd ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ 0,0-1Alli -- INSERT --0,1AllH1,2o3s4 ~ 1,1 dd --No lines in buffer--0,0-1All::0,0-1All`^[ ^[ i -- INSERT --0,1AllHost artemis User nick HostName artemis.cs.csub.edu Port 22 IdentityFile ~/.ssh/artemis "config"A[New]n6L,v122C0written 6,25All^[ ^[ ~@k 5~@k 4,9 ~@k 3,25~@k 2,11^[ ^[ ::x ssh-nick@artemis.cs.csub.edurtemis.cs.csub.educ"cate>> .ssh/authorized_keys" nick@artemis.cs.csub.edu's password: ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ cat config Host artemis User nick HostName artemis.cs.csub.edu Port 22 IdentityFile ~/.ssh/artemis ServerAliveInterval 300 ntoothma@Vaxis:~/.ssh$ ssh artemis Linux artemis 4.19.0-18-amd64 #1 SMP Debian 4.19.208-1 (2021-09-29) x86_64 The programs included with the Debian GNU/Linux system are free software; the exact distribution terms for each program are described in the individual files in /usr/share/doc/*/copyright. Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent permitted by applicable law. Last login: Mon Mar 6 13:07:47 2023 from 136.168.35.3 nick@artemis:~$ nick@artemis:~$ nick@artemis:~$ nick@artemis:~$ nick@artemis:~$ nick@artemis:~$ nick@artemis:~$ exit logout Connection to artemis.cs.csub.edu closed. ntoothma@Vaxis:~/.ssh$ ls -l total 16 -rw------- 1 ntoothma ntoothma 411 Mar 6 13:08 artemis -rw-r--r-- 1 ntoothma ntoothma 96 Mar 6 13:08 artemis.pub -rw-rw-r-- 1 ntoothma ntoothma 122 Mar 6 13:15 config -rw-r--r-- 1 ntoothma ntoothma 444 Mar 6 13:12 known_hosts ntoothma@Vaxis:~/.ssh$ cp artemis /mnt/c/Users/Toothman/Documents/Keys/artemis2 ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ vim config 4;2m"config" 6L, 122C▽ cHost artemis User nick HostName artemis.cs.csub.edu Port 22 IdentityFile ~/.ssh/artemis ServerAliveInterval 300 4;mntoothma@Vaxis:~/.ssh$clsn-al(adds!-toeoverride)11,8-15All::q!c10-17k1-182-251-1810,1 2-9H3-10o4-11s5HostHostN7-14a8-15m9-16HostName10-171-18o2-19d3-20i4-21n5-22.6-23c7-24s8-25.9-26c20-27s1-28u2-29b3-30.4-31e5-32d6-33u7-341,1 2-9P3-10o4-11r5Port6-137-1428-1529-16^[ 11,8-15All::x11,8-15All^[ ^[ ^[ ^[ ::q ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ 2,11All^[[>0;10; ~@k 3~@k 4,9 ~@k 5,11~@k 6~@k ~@k $ 25a -- INSERT --6,26All7,1 8H2o3s4 total 24 drwx------ 2 ntoothma ntoothma 4096 Mar 6 13:22 . drwxr-xr-x 3 ntoothma ntoothma 4096 Mar 6 13:22 .. -rw------- 1 ntoothma ntoothma 411 Mar 6 13:08 artemis -rw-r--r-- 1 ntoothma ntoothma 96 Mar 6 13:08 artemis.pub -rw-rw-r-- 1 ntoothma ntoothma 122 Mar 6 13:15 config -rw-r--r-- 1 ntoothma ntoothma 444 Mar 6 13:12 known_hosts ntoothma@Vaxis:~/.ssh$pwd /home/ntoothma/.ssh ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ ntoothma@Vaxis:~/.ssh$ cd ntoothma@Vaxis:~$ ls -al total 32 drwxr-xr-x 3 ntoothma ntoothma 4096 Mar 6 13:22 . drwxr-xr-x 4 root root 4096 Mar 6 12:55 .. -rw------- 1 ntoothma ntoothma 55 Mar 6 13:06 .bash_history -rw-r--r-- 1 ntoothma ntoothma 220 Mar 6 12:55 .bash_logout -rw-r--r-- 1 ntoothma ntoothma 3771 Mar 6 12:55 .bashrc -rw-r--r-- 1 ntoothma ntoothma 807 Mar 6 12:55 .profile drwx------ 2 ntoothma ntoothma 4096 Mar 6 13:22 .ssh -rw------- 1 ntoothma ntoothma 1292 Mar 6 13:22 .viminfo ntoothma@Vaxis:~$ exitr .ssh exit nick@Vaxis:~$ exit exit