Skip to content
Snippets Groups Projects
Unverified Commit ca0daf52 authored by Recolic Keghart's avatar Recolic Keghart
Browse files

proj1 finally done

parent c2082f0b
No related branches found
No related tags found
No related merge requests found
...@@ -2,8 +2,11 @@ ...@@ -2,8 +2,11 @@
if [[ $1 == remote ]]; then if [[ $1 == remote ]]; then
echo 'Connecting ucb cs161 autograde machine...' echo 'Connecting ucb cs161 autograde machine...'
u=atw u=atw
echo ssh -t cs161-$u@hive$((36#${u:2}%26+1)).cs.berkeley.edu \~cs161/proj1/start ssh -t cs161-$u@hive1.cs.berkeley.edu \~cs161/proj1/start
ssh -t cs161-$u@hive$((36#${u:2}%26+1)).cs.berkeley.edu \~cs161/proj1/start elif [[ $1 == make-submit ]]; then
echo 'Pull solution from ucb cs161 autograde machine...'
u=atw
ssh cs161-$u@hive1.cs.berkeley.edu \~cs161/proj1/make-submission > proj1-subm.zip
else else
echo 'Connecting localhost...' echo 'Connecting localhost...'
#sshpass -p r4e8kWpeFC ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no vsftpd@localhost -p 16161 #sshpass -p r4e8kWpeFC ssh -o PreferredAuthentications=password -o PubkeyAuthentication=no vsftpd@localhost -p 16161
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment