70 likes | 240 Views
Version control and Remote Execution on IFP machines. 10/3/05 Arthur Kantor. Passwordless login. Make rodent machines not ask you for a login password Create a pair of public and private keys, (default file locations, no key password) mickey:~ % ssh-keygen -t rsa
E N D
Version control and Remote Execution on IFP machines 10/3/05 Arthur Kantor
Passwordless login • Make rodent machines not ask you for a login password • Create a pair of public and private keys, (default file locations, no key password) mickey:~ % ssh-keygen -t rsa • Allow the server to use the public key in communicating with you mickey:~ % cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys • SSH from a rodent machine to a rodent machine without a password mickey:~ % ssh nibbler Last login: Mon Oct 3 12:13:30 2005 from mickey.ifp.uiuc.edu nibbler:~ % • Keep your private key ~/.ssh/id_rsa safe
Remote Execution • ssh <machine> <command> mickey:~ % ssh nibbler 'date > ~/jobresult.`hostname`' mickey:~ % less jobresult.nibbler.ifp.uiuc.edu Mon Oct 3 12:33:33 CDT 2005
Version control - SVN • Keeps a history of your file modifications • Lets multiple people work on the same files concurrently • Backup of your files • (our repository is doubly backed up)
SVN –software • Linux: • svn command. • Installed on all modern linux distributions (and ifp machines). • svn help for usage help • Windows: • TortoiseSVN • http://tortoisesvn.tigris.org/download.html • Tweaks windows explorer to support versioning
SVN at ifp • SVN server: mickey.ifp.uiuc.edu • Your login is your netID • Your password is ‘blank’ • no real security, only used to track the person making the modifications • Accessible from anywhere on the internet
SVN demo • svn://akantor@mickey.ifp.uiuc.edu/mhjGroupMeetings