

ssh and then cs15lsp22zz@ieng6.ucsd.edu, except replace zz with the 3 letters for your login"The authenticity of host 'ieng6.ucsd.edu (128.54.70.227)' can't be established.
RSA key fingerprint is SHA256:ksruYwhnYH+sySHnHAtLUHngrPEyZTDl/1x99wUQcec.
Are you sure you want to continue connecting (yes/no/[fingerprint])?"
if this is the case type y.

YOURE NOW CONNECTED!!!

Try these commads in your remote access termial!
cd - (name of folder) - change directoryls - list of files or direcortiesls -lat - directory sizels -a - gives all files inclding hidden ones(those with dots in the beginning)What it should it look like!

The command scp can be inputed in your terminal to copy and paste a file and it will always run from your personal computer.
class WhereAmI' {
public static void main(String[] args) {
System.out.println(System.getProperty("os.name"));
System.out.println(System.getProperty("user.name"));
System.out.println(System.getProperty("user.home"));
System.out.println(System.getProperty("user.dir"));
}
}
after this in the terminal not connected to remote access write scp filename.java cs15lsp22zz@ieng6.ucsd.edu:~/
-remember to chnage zz to the correct letters for your login
ls into the terminal after logging injavac followed by javaIt should look like this!

YOU HAVE SUCCESFULLY COPIED AND PASTED A FILE TO IENG6!!

An ssh key allows you to copy and paste into the ieng6 server without having to enter a password. Here are the steps to do this:
ssh - keygen/Users/user-name/.ssh/id_rsa'Enter passphrase (empty for no passphrase): ‘ and this "Enter same passphrase again:" just press enter twiceThe key fingerprint is:
SHA256:jZaZH6fI8E2I1D35hnvGeBePQ4ELOf2Ge+G0XknoXp0 <user-name>@<system>.local
The key's randomart image is:
+---[RSA 3072]----+
| |
| . . + . |
| . . B o . |
| . . B * +.. |
| o S = *.B. |
| = = O.*.*+|
| + * *.BE+|
| +.+.o |
| .. |
+----[SHA256]-----+
ssh cs15lsp22zz@ieng6.ucsd.edumkdir .sshexit (brings you back to client)
then on the clientscp /Users/<user-name>/.ssh/id_rsa.pub cs15lsp22zz@ieng6.ucsd.edu:~/.ssh/authorized_keysssh or scp from client to server without entering your password.

Use what you have learned to make the proccess of copying and modifying files faster and easier!!
scp filename.java cs15lsp22zz@ieng6.ucsd.edussh cs15lsp22zz@ieng6.ucsd.edu "ls" which will long into the remote server and list your directorycp WhereAmI.java OtherMain.java; javac OtherMain.java; java WhereAmI semi-colons can run multiple commands on one line instead of having to enter each command on a new line
And thats its youre done!!
