![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| RHEL 4, simltaneous maximum ftp/telnet sessions allowed | newbie07 | UNIX for Advanced & Expert Users | 2 | 01-14-2008 08:48 AM |
| RHEL 4, simltaneous maximum ftp/telnet sessions allowed | newbie07 | Red Hat | 2 | 01-14-2008 06:03 AM |
| Telnet Session to AIX | bluebee | UNIX for Dummies Questions & Answers | 1 | 08-07-2007 03:19 PM |
| User should not be allowed to change passwd | brookingsd | UNIX for Dummies Questions & Answers | 3 | 01-23-2006 12:00 PM |
| User Access Problem: Via Telnet or even Console | Vincent Garcia | UNIX for Advanced & Expert Users | 2 | 03-21-2002 05:57 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
sftp problem with user id of no telnet session allowed
We used to have a ftp user id with no telnet session allowed in server side.
We used this ftp user id in script by transferring file from client to Server. Currently we need to implement sftp to replace ftp. We have tested few round and working fine by using sftp with normal user id (allow telnet session). However, when we use the ftp user id with no telnet session, the ftp straight away give the followng message "Connection Closed". When we ssh'ing, the message is as follow : /usr/bin/notelnet: Exec format error Connection to xxx.yyy.zzz.com closed. (which is correct, but the user id not allow telnet) When we sftp, the message is as follow : $ sftp <userid>@xxx.yyy.zzz.com Connecting to xxx.yyy.zzz.com ... Password: Connection closed I wonder if there are any setup required for ftp user id with no telnet session can execute sftp command. Thanks. |
|
||||
|
Does this no-telnet-login setting disallow ssh shell logins as well? It's my understanding that sftp needs remote login, since it runs on top of an ordinary login connection to sshd.
You might find the scponly pseudoshell useful. When a user's login shell is scponly, they will be able to use sftp and scp, but won't get an interactive shell when they login with ssh. Last edited by Corona688; 10-27-2006 at 11:14 AM.. |
|
||||
|
Quote:
I think I have figured it out, I've changed the shell to SFTP server subsystem (sftp-server) and now I can access sftp without having the telnet-login setting. The disadvantage is, normal ftp is no longer valid, user must use 'sftp' to transfer file instead of 'ftp'.... |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|