ssh

Cannot change SSH port

I have changed the Port in the sshd_config file to 443 (yes I know that SSL defaults to that port, thats a different discussion).  I restarted the service.  However, I still am only able to connect via port 22.  Every other port is refused.  Any tips?

 

Thanks!

Change the default port for cwrsync

Hi,

I would like to set up a secondary server running rsync. rsync is tunnled through openssh. On the server side I can modify the sshd_config's PORT setting.

My question is how do I change this at the client? (I use SECHAW to make the connection fromt he client side). 

Thanks

Running a batch file from Linux to Windows using copSSH

 Hi all,

I'm trying to run a batch file from Linux to Windows using SSH. I've installed OpenSSH in Linux and copSSH in Windows. I've also placed the RSA public key in Windows authorized_key file.

I'm now able to perform bypassing of password using public key authentication. However, I would like to now run a batch file straight from Linux terminal.

Apparently I've tried issuing the following command,

ssh windowsUserName@ipaddress "C:/\/run.bat"

but the batch file on the windows machine didn't run. In fact, on the Linux terminal, it shows a fatal error in sshd.exe. Did I get the syntax wrong?

I've also tried ssh windowsUserName@ipaddress -s "C:/\/run.bat" but I presume that -s indicates a control path, and not exactly a command.

Would appreciate if anyone can help me out. Really need it.

Thanks in advance.

Run a windows exec trough ssh shell?

Hi

Im trying to execute a Windows Binary in the unix bash. Its a commandline svn-client and i want to update some working copies in the ssh shell with that exe.

Is there a way to do that? I tried to copy the needed svn.exe into the copssh\bin folder. Now i can start the process, but it does nothing. Or is there in general an Option to get batch files running in the ssh shell and let them act as if they were started from a windows commandline?

Or is there another svn.exe File which can be exceuted with the ssh shell?

 

PS: the SSH Server where im trying to run the svn binary is Windows Server 2008.

keys not working

Greetings all. I'm attempting to test a CopSSH install + a PuTTY/WinSCP client. I can log in via password just fine. The problem is trying to set up some RSA keys. I've tried the following two methods, both of which fail:

-use PuTTYGen to generate a pub/pvt key pair. Copy the pub key to the server/home/username/.ssh/authorized_keys file (actually just renamed the file after copying it there). Does not work.

-use the CopSSH option to generate keys for the user upon creation. Copy the private key to the client. Use PuTTYGen to convert the key file to a .ppk-compatible private key.

Nature of the failure: I get an error message dialog box on the client which states, "Server unexpectedly closed network connection. Authentication log (see session log for details): Using username "username". Authentication failed."

Syndicate content

Who's online

There are currently 0 users and 20 guests online.

Site statistics

Registered users2539
Posts1902
Comments4926