- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- SFTP Error "No terminal authorization granted"
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2009 08:59 AM
тАО03-26-2009 08:59 AM
we are getting the below error while doing sftp. Please help to me to fix this issue.
Thanks in advance.
debug: Ssh2AuthPubKeyClient/authc-pubkey.c:1940: Public key authentication was successful.
debug: Ssh2/ssh2.c:965: Returning user input stream to original values.
debug: Ssh2Common/sshcommon.c:768: num_channels now 1
debug: SshTtyFlags/sshttyflags.c:294: Not a tty. (fd = 0)
debug: Ssh2ChannelSession/sshchsession.c:2915: Requesting subsystem sftp
debug: Ssh2Common/sshcommon.c:166: DISCONNECT received: No terminal authorization granted
Disconnected (remote); protocol error (No terminal authorization granted).
debug: Ssh2Common/sshcommon.c:733: num_channels now 0
debug: Got session close with exit_status=0
Disconnect reason 2, exit code = 66
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2009 09:19 AM
тАО03-26-2009 09:19 AM
Re: SFTP Error "No terminal authorization granted"
Ideas:
1) Maybe the ssh deamon needs a restart on the target server.
2) Check the /var/adm/syslog/syslog.log on the target server.
3) Check permissions and ownership on .ssh and the files within.
http://www.hpux.ws/?p=10
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2009 11:24 AM
тАО03-26-2009 11:24 AM
Re: SFTP Error "No terminal authorization granted"
In remote node syslog i am able to find "Disconnecting: No terminal authorization granted" error message.
Permision for .ssh & authorized_keys2 is correct.
Please advice.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2009 11:29 AM
тАО03-26-2009 11:29 AM
Re: SFTP Error "No terminal authorization granted"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-26-2009 11:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-27-2009 08:23 AM
тАО10-27-2009 08:23 AM
Re: SFTP Error "No terminal authorization granted"
"Boks_sshd" is a version of OpenSSH which is included with FoxT's BoKS Access Control software. Using BoKS you can completely close access to your servers so only certain people are allowed very specific access.
The error message "No terminal authorization granted" means that your account was in fact NOT granted access to use SSH on this particular server. It could be that the security guys on the server did in fact allow your account to login, but that you were coming from a different IP address than usual.
In order to make sure that you can always log in, please contact the security folks in charge of the server you're trying to reach.
For more details on troubleshooting BoKS and login problems, see my personal website -> http://www.kilala.nl/Sysadmin/index.php?id=1255
Cheers,
Thomas Sluyter