- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Secure OS Software for Linux
- >
- Re: ssh/scp Problem from one server and not the ot...
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
Forums
Discussions
Discussions
Discussions
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
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
09-08-2004 01:53 AM
09-08-2004 01:53 AM
ssh/scp Problem from one server and not the other
Basiclly I "ssh $SERVER /Run/A/Script"
Then on $SERVER I "scp /results/of/script $HOST:/director"
Then back on the $HOST I do more things with the data.
Any way I get this error "You have no controlling tty. Cannot read passphrase."
This error only happen from one of of the HP-UX 11.0 servers. I do not see any difference in settings /dev/tty rights.
I have no passphrase on any of the 4 servers involved. I have replaces the ssh key. Some thing is different on the one UNIX server.
So you do not get to confused here is what I am doing that dose not work.
From a UNIX(HP) server I am execute a command using ssh on a Linux server to see if MYSqlis up(mess of other stuff too) it creates a file that is send back to the UNIX server that I can use to verify all is well and then process all the other stuff that works fine.
This all works fine from one UNIX server to any one of the Linux server. And fails form the other UNIX server.
Any ideas?
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2004 05:36 PM
09-12-2004 05:36 PM
Re: ssh/scp Problem from one server and not the other
ssh $SERVER -t /Run/A/Script.
"-t" enforces a tty for the ssh connection.
All the best
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2004 06:08 PM
09-12-2004 06:08 PM
Re: ssh/scp Problem from one server and not the other
Please check the permissions of /dev/tty. It should be "crw-rw-rw-" i.e. 0666. It nopt please reset the permissions on /dev/tty to mode 0666
#chmod 0666 /dev/tty
I thinks this may solve the problem.
Regards,
Senthil Murugan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-13-2004 01:20 AM
09-13-2004 01:20 AM
Re: ssh/scp Problem from one server and not the other
I just checked and /dev/tty is set to 0666 (crw-rw-rw-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-15-2004 12:42 AM
09-15-2004 12:42 AM
Re: ssh/scp Problem from one server and not the other
If I ssh to server B from A executing a script that creates some data. Then use scp from server A to scp the data from B back to A, it works fine between all 4 servers.
I was using ssh from server A to Execure a script on server B that would create the data and scp the data back to server A to save user interaction. It would fail with one pair of servers.
I know about using SSH and public key to encript with out password. I am using that elsewhere. In this case it will not work because of a couple reasons.
Many users must use this script and the one Server that has to be uses is Redhat 6.2 and it dose not play well with new versions of ssh. This server is out of our control to upgrade.
Rewriting the script putting the scp on other server is working fine so until I can get them to upgrade the Redhat 6.2 it will have to do.
Thanks for your help.
Marty