![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to create a pseudo terminal | shoba | UNIX for Advanced & Expert Users | 0 | 02-26-2008 05:30 AM |
| pseudo: [ID 129642 kern.info] pseudo-device: vol0 | mndavies | SUN Solaris | 0 | 02-13-2008 06:21 PM |
| Difference between <stdin> & terminal | vibhor_agarwali | UNIX for Advanced & Expert Users | 7 | 07-02-2007 12:28 AM |
| Terminal | dilshik | AIX | 5 | 03-26-2004 12:10 AM |
| connecting to unix through hyper terminal - as a dumb terminal | michelle | UNIX for Advanced & Expert Users | 2 | 11-05-2001 11:32 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Pseudo-terminal will not be allocated because stdin is not a terminal.
I am trying to automate a SSH login using Keys using the following command
ssh -i id_rsa usernamw@ipaddr. I am successful in doing this and i am getting the Warning Screen and I logon successfully. but when I am executing the command tail -1cf put.dat | ssh -i id_rsa username@ipaddr > get.dat 2>&1 It displays me with the error message "Pseudo-terminal will not be allocated because stdin is not a terminal" and I am not able to get the warning Screen. Could anyone please help.Its on priority..... |
| Forum Sponsor | ||
|
|
|
|||
|
hello,
The solution to use ssh command without using the console(tty) is to add -t -t option. example: Code:
ssh -t -t -R 8080:127.0.0.1:80 root@192.168.1.1 Quote:
sincerely. |
|||
| Google The UNIX and Linux Forums |