Hi all, I'm using the new version of the sshd server 0.7.0. I use the code for the "sshd in five minutes". I connect to the server with ssh. After connection I have no tty, so I get warnings like:
stty: stdin isn't a terminal line breaks don't work correctly (carrige return is missing) Vim: Warning: Output is not to a terminal Vim: Warning: Input is not from a terminal here is the (scala)-code: val sshd = SshServer.setUpDefaultServer sshd.setPort( 22000 ) sshd.setKeyPairProvider( new SimpleGeneratorHostKeyProvider( "/tmp/hostkey.ser" ) ) sshd.setShellFactory( new ProcessShellFactory( Array( "/bin/sh", "-i", "-l" ) ) ) sshd.setCommandFactory( new ScpCommandFactory() ) sshd.setPasswordAuthenticator( this ) sshd.start I call it with ssh: ssh -l maier -p 22000 localhost I also try "-t" to force pseudo-tty allocation, but the result is the same. I am not the linux tty expert/guru, therefore I ask the mailing list to solve this problem. using OpenSSH ssh, Mac OS X (10.7.4) thank you for your support Michael Maier