Koozali.org: home of the SME Server

User access using Winscp

atlantis

User access using Winscp
« on: May 04, 2004, 06:22:36 PM »
Hi,

I can't log on to a user account on either my 5.6 or my 6.0 server. Only Admin works with both winscp and putty. Error messages:

Putty:
Standard user login services have been disabled.

Winscp:
Error skipping startup message. Your shell is probably incompatible with the application (Bash is recommended).
Connection has been unexpectedly closed. Server sent command exit status 1.

But ssh access IS set 'public' in remote access in the server-manager. I also changed Winscp's options to /bin/sh or /bin/bash, but with no success. I never used ssh access to user accounts before but a mate asked me for some storage space today and therefore I discovered this problem. Any idea anybody?

Regards
Martin

loveless

User access using Winscp
« Reply #1 on: May 04, 2004, 08:38:43 PM »
Have to login as user 'root', with the admin password when connecting via PuTTY or WinSCP.

atlantis

User access using Winscp
« Reply #2 on: May 04, 2004, 11:37:54 PM »
That's exactly the problem I have to give my mate access to upload and download his data using ssh (ftp is disabled of course) and I don't want to give him the root login, do I? Therefore I need a working public ssh login. Any ideas how to tweak this? Thanks.

Regards
Martin

Offline Boris

  • *
  • 783
  • +0/-0
User access using Winscp
« Reply #3 on: May 05, 2004, 02:06:34 AM »
Quote from: "atlantis"
I don't want to give him the root login, do I?

No, but you would have to give him shell access in order to use ssh and winscp. No good either.
I would rather enable ftp from local network access. Chroot user to the only folder he would need to get and enable VPN for him to connect to local network. VPN will  encrypt ftp session and login, chroot(ed) ftp will limit users from snooping around the server and executing limited number of (ftp) commands on the server. Rest of the server (samba shares) and local workstations should be protected with passwords or server has to be placed in the DMZ. All the ingredients of this recipe are available from this site by using search.
...