User Tools

Site Tools


cluster:157

Warning: Undefined array key -1 in /usr/share/dokuwiki/inc/html.php on line 1458

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cluster:157 [2017/04/06 15:21]
hmeij07
cluster:157 [2017/04/06 15:31] (current)
hmeij07
Line 38: Line 38:
     * useradd -u 15001 -g 15001 weshmeij     * useradd -u 15001 -g 15001 weshmeij
     * echo `date | md5sum | awk '{print $1}'` | passwd weshmeij --stdin     * echo `date | md5sum | awk '{print $1}'` | passwd weshmeij --stdin
-    * su - weshmeij -c "ssh-keygen -b 2048 -t rsa -f /home/weshmeij/.ssh/weshmeij -q -N '''' " # 4 single ticks+    * su - weshmeij -c "ssh-keygen -b 2048 -t rsa -f /home/weshmeij/.ssh/weshmeij -q -N '''' " # 4 single quotes before closing double quote
     * mv /home/weshmeij/.ssh/weshmeij.pub /etc/ssh/authorized_keys/weshmeij     * mv /home/weshmeij/.ssh/weshmeij.pub /etc/ssh/authorized_keys/weshmeij
     * chown root:root /etc/ssh/authorized_keys/weshmeij     * chown root:root /etc/ssh/authorized_keys/weshmeij
Line 48: Line 48:
       * download public keys, updates in /etc/ssh/authorized_keys (rsync with --delete)       * download public keys, updates in /etc/ssh/authorized_keys (rsync with --delete)
       * replaces local passwd/shadow/group with retrieved lines       * replaces local passwd/shadow/group with retrieved lines
-    * user hmeij@wes: ssh weshmeij@openhpc.lafayette.edu -i /home/hmeij/.ssh/weshmeij.priv+  * user hmeij@wes: ssh weshmeij@openhpc.lafayette.edu -i /home/hmeij/.ssh/weshmeij.priv
  
 That would work. Nobody knows the passwords for these guest accounts. That would work. Nobody knows the passwords for these guest accounts.
cluster/157.1491506517.txt.gz ยท Last modified: 2017/04/06 15:21 by hmeij07