jamesmini:~ james$ more ~/.profile ... alias sshhome="ssh user@my.home.com -p 1234 -L 1234:ip.of.vnc.dest:5900 -L 3128:ip.of.server:3128" ...
Tag Archives: ssh
Enable SSH on OSX for Jenkins Client
In order to have a Jenkins client running on OSX, you must edit the RSAAuthentication. If you try to setup an OSX box as a Jenkins client & see the following error:
[08/16/11 11:26:46] [SSH] Opening SSH connection to cmosx01:22. [08/16/11 11:26:46] [SSH] Authenticating as cmuser/******. java.io.IOException: Password authentication failed. at com.trilead.ssh2.auth.AuthenticationManager.authenticatePassword(AuthenticationManager.java:319) at com.trilead.ssh2.Connection.authenticateWithPassword(Connection.java:314) at hudson.plugins.sshslaves.SSHLauncher.openConnection(SSHLauncher.java:590) at hudson.plugins.sshslaves.SSHLauncher.launch(SSHLauncher.java:198) at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:199) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) at java.util.concurrent.FutureTask.run(FutureTask.java:166) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) Caused by: java.io.IOException: Authentication method password not supported by the server at this stage. at com.trilead.ssh2.auth.AuthenticationManager.authenticatePassword(AuthenticationManager.java:289) ... 9 more [08/16/11 11:26:46] [SSH] Connection closed. ...
Then you need to ensure you enabled PasswordAuthentication in your sshd_config file. Edit /etc/sshd_config, adding PasswordAuthentication yes
... # To disable tunneled clear text passwords both PasswordAuthentication and # ChallengeResponseAuthentication must be set to "no". PasswordAuthentication yes #PasswordAuthentication no #PermitEmptyPasswords no ...
rsync over ssh
rsync -av ~/workspaces/media -e "ssh -p 69" username@www.testme.com:/test