Skip to main content

All Questions

Tagged with
1 vote
1 answer
1k views

managing ssh command in a bash loop

i've done a bash script like this while read site address do ssh $address "df -k" done to repeat the remote command few times, but the loop works just once. Any idea on the reason of this behavior?...
user83102's user avatar
19 votes
2 answers
9k views

Is it a good idea to put "screen -r" in my .bashrc?

I'd like to use screen to keep ssh sessions alive on my server. It would be nice if I could automatically resume any running session for my user when I log in. The straightforward way to do this would ...
marcusw's user avatar
  • 1,768
1 vote
2 answers
698 views

Can i share my local tape device to server via ssh session ? (backup purpose)

Welcome, I will tell how i'm doing this now (backup). I have my local computer, and server. I log into server, and mount my local computer (folder) via sshfs. Create .rar backup archive direct to ...
marcell22's user avatar
2 votes
3 answers
329 views

Transfer many Gigabytes between two servers

I have a big problem. I have to move data from an old Webspace which is only accessible by ftp. The new root server is accessible by ssh of course. I need to move all the data from the old space but ...
Bernie's user avatar
  • 121
28 votes
4 answers
28k views

Running ssh-keygen without human interaction?

Would it be possible to run ssh-keygen without human interaction? I have a shell script that takes care of server deployment from start to finish, but ssh-keygen is the only remaining piece that ...
Hayek's user avatar
  • 1,995
9 votes
4 answers
11k views

Vim and mouse with ssh from Mac to Linux

I certainly know it's possible to make the mouse work in Vim on a remote session to a Linux machine from my Mac, but I haven't figured out just how. Daily vim gives a tip on making it work but if I ...
Jonatan Littke's user avatar
-2 votes
3 answers
476 views

How to query whether SSH is available under Debian?

I'm trying to implement ssh server under a custom Debian-based installation, which has no GUI, and yet no ssh access. How can I know whether SSH is installed, and how can I know whether the firewall ...
jfmessier's user avatar
  • 2,790

15 30 50 per page
1
11 12 13 14
15