From 5f7b17fd7db8f9ee23d0a2e7c24090869bcf6c12 Mon Sep 17 00:00:00 2001 From: Blaise Thompson Date: Tue, 29 Aug 2017 00:16:27 -0500 Subject: add ssh+config --- dotfiles/ssh+config | 9 +++++++++ link.sh | 6 ++++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 dotfiles/ssh+config 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 diff --git a/link.sh b/link.sh index 86b22e4..6d516e3 100755 --- a/link.sh +++ b/link.sh @@ -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 -- cgit v1.2.3