|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
SSH command in windows
by wannabag
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message Hi again,
To complete my previous post, I would just mention that I'm using SSH2 on both client and server. My problem is not so much how to create a public key as that can easily be found all over the web. My problem is whether it's the correct workaround in order to be able to perform the command I mentioned. Any idea? Previous post: I'm working on an NT machine and wish to run a compilation on a remote UNIX server using a SSH. I am calling the command from an application (Eclipse): ssh -tt user@host cd home/dir; make If I understand the matter properly, I should install some authentication key in order to avoid password demand during login so the command can be run. Note that I have only limited access to the file system of the UNIX server as defined by my view. I can thus only modify files within my user's scope. Could you direct me to what could be done? If my question lacks of information, feel free to request it and i'll do my best to answer. This is the first time I use SSH so excuse me if I miss the point |
|
|
Re: SSH command in windows
by Steven Hollingsworth
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message On Thu, Oct 11, 2007 at 08:01:41PM -0700, wannabag wrote:
> Hi again, hello. >[snip] > Previous post: > > I'm working on an NT machine and wish to run a compilation on a remote UNIX > server using a SSH. I am calling the command from an application (Eclipse): > > ssh -tt user@host cd home/dir; make > > If I understand the matter properly, I should install some authentication > key in order to avoid password demand during login so the command can be > run. Note that I have only limited access to the file system of the UNIX > server as defined by my view. I can thus only modify files within my user's > scope. yes, that would be ssh keys. You want to generate a key in the program you're using. A quick google search turned up this [0] As far as the remote host is concerned, you're going to go through the process of setting up the directory ~/.ssh with 700 permissions, and add the public key generated to the ~/.ssh/authorized_keys file with 600 permissions (make sure the public key is on one line and not broken up) > Could you direct me to what could be done? If my question lacks of > information, feel free to request it and i'll do my best to answer. This is > the first time I use SSH so excuse me if I miss the point See above. HTH, ~ stevo [0] - http://www.cise.ufl.edu/~mwhitloc/sf_cvs_howto.html |
|
|
Re: SSH command in windows
by edw-2
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message Hi there, it seems to be something related in the public-key
authentication, in order to logging using SSH Passphrase (private key/public key), let me know if you can find the answer in this link... or if I am completely wrong let me know too :D http://www.decf.berkeley.edu/help/security/ssh/#public-private 2007/10/11, wannabag <wannabag@...>: > > > Hi again, > > To complete my previous post, I would just mention that I'm using SSH2 on > both client and server. My problem is not so much how to create a public as > that can easily be found all over the web. My problem is whether it's the > correct workaround in order to be able to perform the command I mentioned. > > Any idea? > > > Previous post: > > I'm working on an NT machine and wish to run a compilation on a remote UNIX > server using a SSH. I am calling the command from an application (Eclipse): > > ssh -tt user@host cd home/dir; make > > If I understand the matter properly, I should install some authentication > key in order to avoid password demand during login so the command can be > run. Note that I have only limited access to the file system of the UNIX > server as defined by my view. I can thus only modify files within my user's > scope. > > Could you direct me to what could be done? If my question lacks of > information, feel free to request it and i'll do my best to answer. This is > the first time I use SSH so excuse me if I miss the point > > > -- > View this message in context: http://www.nabble.com/SSH-command-in-windows-tf4592264.html#a13109740 > Sent from the SSH (Secure Shell) mailing list archive at Nabble.com. > > -- "Enuncia tu verdad de una manera serena y clara; y escucha a los demás, incluso al torpe e ignorante; también ellos tienen su propia historia ..." |
|
|
RE: SSH command in windows
by John Hall-11
::
Rate this Message:
Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message In order to avoid having to enter a password with the SSH command, you will
need to do one of two things: 1) Allow some sort of key authentication using a public/private key pair (preferred). This will require you to generate the keys and place them in the correct location on the server and the client-side. I'm unfamiliar with using keys with the ssh command-line under a Windows environment, so you might check its documentation. Depending on your SSH implementation on the remote UNIX host, various steps should be taken to configure this there as well. This will require your additional access. 2) You could somehow butcher the SSH login authentication using PAM to where it no longer requires a password. I've done this by accident on a Linux box, so I know it works. However, this is probably the worst recommendation of all time, so I wouldn't do this. At any rate, I believe you will need to involve the UNIX administration team for the server on your efforts and perhaps they could assist in your endeavor. John Hall (securityfocus@...) Technological Solutions Team Neovolo - New Life to Business SolutionsT http://www.neovolo.com -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.14.11/1071 - Release Date: 10/15/2007 6:48 AM |
| Free embeddable forum powered by Nabble | Forum Help |