Changes between Version 3 and Version 4 of JBSsandbox/SliceNotes
- Timestamp:
- 04/10/14 14:14:43 (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
JBSsandbox/SliceNotes
v3 v4 207 207 == Essential one-time steps for any login == 208 208 209 Find old SSH keys, and print lines to remove them: 210 211 {{{ 209 Find old SSH keys for IP addresses that ExoGENI has reused, and print lines to remove them: 210 211 {{{ 212 logins grep -- -eg- 212 213 for login in $logins ; do ssh $login true |& grep ssh-keygen | sed -e 's/remove with://' ; done 213 214 }}} 214 215 215 (Repeat that until it returns with no output. 216 217 Make sure I can log in: 218 219 {{{ 220 shmux -c "hostname" $logins 221 }}} 216 Copy and paste the output (simply exec-ing it doesn't seem to work, and I haven't debugged why); then repeat the above and expect no output. 217 218 Make sure I can log in, and that each login's hostname is as expected: 219 220 {{{ 221 logins cat 222 shmux -c "hostname" $logins | egrep -v '(.+): \1' 223 }}} 224 225 Expect no output from that, except possibly messages about new SSH keys. Run it again in that case, and address any other output. 222 226 223 227 Copy in my dotfiles: