SSH Help
-
I know this isn't exclusive for Linux, but seemed like the best match. I'm using ssh to call a windows machine so I can run an executable on that particular machine. If I set up the configuration for ssh to be passwordless, and try to run the executable, it fails complaining about remoting issues. If I disable the passwordless option, and have to type it in, I can run the executable without fail. I would like to get the passwordless option working because I need to wrap this is a script. Any ideas or suggestions related to this matter would be greatly appreciated. CS
-
I know this isn't exclusive for Linux, but seemed like the best match. I'm using ssh to call a windows machine so I can run an executable on that particular machine. If I set up the configuration for ssh to be passwordless, and try to run the executable, it fails complaining about remoting issues. If I disable the passwordless option, and have to type it in, I can run the executable without fail. I would like to get the passwordless option working because I need to wrap this is a script. Any ideas or suggestions related to this matter would be greatly appreciated. CS
I assume you already have the SSH service running under Windows? Can you: 1. Ping the Windows server from where you are 2. Can you telnet the SSH server from the other machine Lastly, under linux Debian there is a option in the SSH config which prohibits login as root. Are you by chance logging into the account using root access? I wonder if this is possibly causing the issue, and by disabling authenticaiton, you by pass this measure... In anycase, you can easily plink into a password protected session, so I wouldn't recommend disabling passwords...all someone has to do is catch your open port and try a password-less login and BAM they now control your system, at least to the extent SSH for Windows lets you. Cheers, Alex
-
I know this isn't exclusive for Linux, but seemed like the best match. I'm using ssh to call a windows machine so I can run an executable on that particular machine. If I set up the configuration for ssh to be passwordless, and try to run the executable, it fails complaining about remoting issues. If I disable the passwordless option, and have to type it in, I can run the executable without fail. I would like to get the passwordless option working because I need to wrap this is a script. Any ideas or suggestions related to this matter would be greatly appreciated. CS
You can configure the SSH (Server and client) to run with SSL key pairs like public-private key. Linux has a built in support for this both as a client and server. Your client first searches for the key file, if it cannot find it, it asks for a pass. Mert Gülsoy IT Specialist