Tagged Questions
0
votes
2answers
73 views
Autentification on SSH connection in OneLine [closed]
Possible Duplicate:
Shell Script for logging into a ssh server
I need to connect via SSH to a remote server, however I must do this with out interactive mode and with out use Public keys ...
3
votes
4answers
170 views
passing passwords to a script
I want to scp a file to a remote host, and from there, run a command on the file, and exit the remote session. If I write a usual script, call scp and then ssh, I am prompted to enter two passwords. ...
5
votes
6answers
930 views
Execute remote commands, completely detaching from the ssh connection
I have 2 computers, localpc and remoteserver.
I need localpc to execute some commands on remoteserver. One of the things it needs to do is start a backup script that runs for a number of hours. I ...
2
votes
3answers
151 views
Keep running a script via ssh
ssh can use to run remote commands.
ssh [email protected] 'long-script.sh'
I run a long script that will take a lot of time, but I want to close my computer and keep running the script in the remote ...
0
votes
2answers
94 views
Creating SSH Terminal Wrapper
I'm new to scripting, but somewhat familiar with Linux. I am actually using this on a Fedora16 build, with Gnome3 and gnome-terminal... fyi.
I flip through all sorts of ssh terminals all day long ...
0
votes
3answers
113 views
wrapper command for sshd_config?
Is there a command to set settings in sshd_config, instead of manually editing the file? I would prefer it to do this way, because it's easier to automate. Otherwise I'd have to grep config with my ...
6
votes
3answers
652 views
Answer yes in a bash script
I'm trying to do a git clone trough a bash script, but the first time that I run the script and the server is not known yet the script fails. I have something like this:
yes | git clone ...
3
votes
1answer
106 views
Make a failed SSH forward a fatal error
I have a script which connects to a remote host to replicate some files via SSH. I must connect to an rsync daemon listening on port 873. To accomplish this I have a ssh configuration like this.
...
5
votes
6answers
1k views
How to run commands in batch mode over ssh?
How can I run commands in batch mode over ssh? That is, what is the ssh command's equivalent of sftp -b <filename> <hostname>?
I have a set of commands which I wish to run across a set of ...
2
votes
7answers
409 views
Write a remote managing script
I need to be able to locally run a script that will connect to various servers and run commands on them. What is the best way to accomplish this?