stty: tcgetattr: A specified file does not support the ioctl system call.


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users stty: tcgetattr: A specified file does not support the ioctl system call.
# 8  
Old 05-29-2007
1. Only the user on the source (local) system need to generate a key-pair. When generating this key-pair, a blank passphrase should be entered.
2. The key has to be added to the file that is specified in your sshd_config file (this would be usually the authorized_keys or authorized_keys2 file in the $HOME/.ssh directory)
3. Your $HOME/.ssh/<private_key> file should match the one specified in the ssh_config file as IdentityFile.
4. The .ssh directory on both servers should have 700 permissions and should be owned by the owner of the home directory.
# 9  
Old 05-30-2007
Dear Blow/Porter,

I think the problem was with the file permissions of may be $HOME/.ssh or the keys, I changed the file permission of $HOME/.ssh to 700 & it worked. Now its not asking for the password for the ssh user@destination.server.com command.

Thanks a lot to both of you.
Porter specially you, who kept me replying from the start. Smilie

Regards,
Vishal
# 10  
Old 05-30-2007
Thanks for letting us know when things work as well. Smilie
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Tcgetattr: Inappropriate ioctl for device

Hi, ssh -q -t -l $usr $host bin/test.sh I am using above command to run script remotely. script is working without any issues. but I am getting "tcgetattr: Inappropriate ioctl for device" message on console. plz help how can I avoid this message. Thanks Moved thread from Emergency... (1 Reply)
Discussion started by: Kri
1 Replies

2. Shell Programming and Scripting

tcgetattr: Inappropriate ioctl for device after ssh command

Hello everyone I am finishing a script allowing me to purge logs on multiple servers, i have one last pb with the ssh command.........it is throwing me the following error : tcgetattr: Inappropriate ioctl for device (full screen in attached file 1, full script in attached file 2) It... (15 Replies)
Discussion started by: jimmy75_13
15 Replies

3. Shell Programming and Scripting

stty: tcgetattr: A specified file does not support the ioctl system call

Hi Gurus, I have scheduled a script using cron scheduler. Script works fine when i run it manually. But it gives the following error in cron log. stty: tcgetattr: A specified file does not support the ioctl system call. I have given the following statement in cron. 0-59 * * * *... (5 Replies)
Discussion started by: svajhala
5 Replies

4. Programming

how to call dot c file using system command

Hi every one, i have to dot pc files. One have main function but one dont have.I have to call dot pc file using system () cmd.File is being call have main function.Please let me know how i can call .pc file with two arguments from other dot pc file.I want some thing like sprintf(buf, "ss_xxx.pc... (4 Replies)
Discussion started by: goraya430
4 Replies

5. Shell Programming and Scripting

how to call dot c file using system command

Hi every one, i have to dot pc files. One have main function but one dont have.I have to call dot pc file using system () cmd.File is being call have main function.Please let me know how i can call .pc file with two arguments from other dot pc file.I want some thing like sprintf(buf,... (1 Reply)
Discussion started by: goraya430
1 Replies

6. SCO

stty: tcgetattr failed

I was using i/o8+ serial (with baud 9600,4800 & 1200)without any problem after uninstalling the above card I installed ultraport8i serial card of the same Oem I am getting the error message stty: tcgetattr failed: inappropriate I/O control operation (error 25) please help::confused: (0 Replies)
Discussion started by: aak
0 Replies

7. UNIX for Advanced & Expert Users

ioctl() system call on Linux-i386

Greetings, Please help me with the following : Where can I find what means exactly and how to use each of the second argument of the ioctl() system call in Linux/386 : FIOxxx (file IOCTL requests), SIOxxx (socket IOCTL requests), TCxxx TIOxxx (terminal IOCTL requests) ? ... (1 Reply)
Discussion started by: aigoia
1 Replies

8. UNIX for Advanced & Expert Users

how to differentiate system call from library call

Hi, Ho do I differentiate system call from library call? for example if I am using chmod , how do I find out if it is a system call or library call? Thanks Muru (2 Replies)
Discussion started by: muru
2 Replies

9. UNIX for Dummies Questions & Answers

stty tcgetattr errors

Hi, I have an app that runs Oracle 8.1.7 residing on a AIX 4.3 ML 10 . preiodically app sends out a status log like the one displayed below. Lately I have noticed this stty:tcgetattr message in the log. Script that writes this output calls sqlplus, gets the required count and writes output to... (8 Replies)
Discussion started by: Student37
8 Replies
Login or Register to Ask a Question