SSH

MySecureShell

"MySecureShell is an SFTP server that is based on OpenSSH and allows for very flexible configurations, e.g. it has support for chrooting users into their home directories and limiting upload-/download bandwidths. MySecureShell makes maintenance of an SFTP server easy."

Setting default permissions on files and directories copied with scp or sftp

I've found many questions on the net regarding the topic so it's time I give you my own answer. Smiling In case of SFTP you're lucky: you've at least two methods to do it ...

"open failed: administratively prohibited" error with ssh dynamic port forwarding

I just experienced the following error message, when I tried to use dynamic port fowarding with a server that I had used for the same purpose a dozen times before:
channel 3: open failed: administratively prohibited: open failed
The strange thing was that I already used the given server for dynamic port forwarding without any problems. In the server's auth.log I've found this:
Oct 13 19:36:41 myserver sshd[8584]: error: connect_to 0.0.0.1 port 80: Invalid argument
Oct 13 19:36:41 myserver sshd[8584]: error: connect_to 0.0.0.1 port 80: failed.
The reason for the error message was the SOCKS proxy setup in my browser (FF 3.x): changing the SOCKS version to 5 made the problem disappear. It seems that the daemon in OpenSSH_4.3p2 Debian-9etch2 accepts now only SOCKSv5 connections from clients. Shocked

Syndicate content