diff options
author | Blaise Thompson <blaise@untzag.com> | 2017-08-29 00:16:27 -0500 |
---|---|---|
committer | Blaise Thompson <blaise@untzag.com> | 2017-08-29 00:16:27 -0500 |
commit | 5f7b17fd7db8f9ee23d0a2e7c24090869bcf6c12 (patch) | |
tree | f06649a209e127a3805c11817bdf3f421ef19910 | |
parent | 3468caf4758d2512c3147d036ae1f3d936e56e72 (diff) |
add ssh+config
-rw-r--r-- | dotfiles/ssh+config | 9 | ||||
-rwxr-xr-x | link.sh | 6 |
2 files changed, 13 insertions, 2 deletions
diff --git a/dotfiles/ssh+config b/dotfiles/ssh+config new file mode 100644 index 0000000..bc59297 --- /dev/null +++ b/dotfiles/ssh+config @@ -0,0 +1,9 @@ +host wright_fs + User John + HostName 128.104.68.238 + Port 22 + +host wright_ps + User John + HostName 128.104.69.51 + Port 22 @@ -10,7 +10,9 @@ cd $dir # move current files and link contained files files=$(ls $dir) -for name in $files; do +for f in $files; do + name=${f//+//} + echo $name mv ~/.$name ~/dotfiles_old/ - ln -s $dir/$name ~/.$name + ln -s $dir/$f ~/.$name done |