Re: How to get a script file to use bash and ssh

2010-09-11 Thread Michael Ludwig
PaulHR schrieb am 02.09.2010 um 12:10 (-0700): I want to create script files that are not bound to my user id. I want to create over 20 different scripts files, one for each server I manage. I have uploaded keys to each server. So all I should have to is enter is the ssh command

Re: How to get a script file to use bash and ssh

2010-09-03 Thread Andrey Repin
Greetings, Jeremy Bopp! Assuming, of course, that the necessary entry in /etc/passwd is set correctly. Even if not. Or not set. $ grep $USER /etc/passwd [...]:/cygdrive/c/home/Daemon:/bin/bash $ ls -l /cygdrive/c/home/Daemon ls: cannot access /cygdrive/c/home/Daemon: No such file or

Re: How to get a script file to use bash and ssh

2010-09-03 Thread Jeremy Bopp
On 9/3/2010 4:50 AM, Andrey Repin wrote: Greetings, Jeremy Bopp! Assuming, of course, that the necessary entry in /etc/passwd is set correctly. Even if not. Or not set. $ grep $USER /etc/passwd [...]:/cygdrive/c/home/Daemon:/bin/bash $ ls -l /cygdrive/c/home/Daemon ls: cannot

How to get a script file to use bash and ssh

2010-09-02 Thread PaulHR
I want to create script files that are not bound to my user id. I want to create over 20 different scripts files, one for each server I manage. I have uploaded keys to each server. So all I should have to is enter is the ssh command I have put in a file called MyOpenUp.bat the

Re: How to get a script file to use bash and ssh

2010-09-02 Thread Jeremy Bopp
On 9/2/2010 2:10 PM, PaulHR wrote: I want to create script files that are not bound to my user id. I want to create over 20 different scripts files, one for each server I manage. I have uploaded keys to each server. So all I should have to is enter is the ssh command I have put

Re: How to get a script file to use bash and ssh

2010-09-02 Thread PaulHR
Yes, that is correct. Jeremy Bopp-3 wrote: On 9/2/2010 2:10 PM, PaulHR wrote: I want to create script files that are not bound to my user id. I want to create over 20 different scripts files, one for each server I manage. I have uploaded keys to each server. So all I should have to

Re: How to get a script file to use bash and ssh

2010-09-02 Thread Heath Kehoe
On 9/2/2010 2:10 PM, PaulHR wrote: I want to create script files that are not bound to my user id. I want to create over 20 different scripts files, one for each server I manage. I have uploaded keys to each server. So all I should have to is enter is the ssh command I have put in a

Re: How to get a script file to use bash and ssh

2010-09-02 Thread Jeremy Bopp
On 9/2/2010 2:36 PM, Heath Kehoe wrote: On 9/2/2010 2:10 PM, PaulHR wrote: That's all more complicated than it needs to be. Just make windows shortcuts to c:\cygwin\bin\ssh.exe, where Start in: is set to c:\cygwin\bin, and modify Target: to contain C:\cygwin\bin\ssh.exe usern...@hostname

Re: How to get a script file to use bash and ssh

2010-09-02 Thread Andy Koppe
On 2 September 2010 20:52, Jeremy Bopp wrote: That's all more complicated than it needs to be. Just make windows shortcuts to c:\cygwin\bin\ssh.exe, where Start in: is set to c:\cygwin\bin, and modify Target: to contain C:\cygwin\bin\ssh.exe usern...@hostname (without the quotes of course).

Re: How to get a script file to use bash and ssh

2010-09-02 Thread Jeremy Bopp
On 9/2/2010 3:31 PM, Andy Koppe wrote: On 2 September 2010 20:52, Jeremy Bopp wrote: That's all more complicated than it needs to be. Just make windows shortcuts to c:\cygwin\bin\ssh.exe, where Start in: is set to c:\cygwin\bin, and modify Target: to contain C:\cygwin\bin\ssh.exe