10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
In bash, you can do something like this:
echo -n "What is your name? " > /dev/tty
read thename < /dev/tty
How can I do the same in python?
I have a python script that has the following content:
import... (2 Replies)
Discussion started by: SkySmart
2. Shell Programming and Scripting
I'm trying to have an unattended remote PC log some data on home PC.
man sshd says I should be able to put a command in authorized_keys.
This is what I have on the remote machine. The key is a special key that isn't used elsewhere.
In my ~/.ssh/authorized_keys file on my desktop:... (12 Replies)
Discussion started by: KenJackson
Anybody faced this issue while logging through ssh on solaris:
I am getting this error now. I was able to logged in before. Now I am getting this error.
Any idea? (3 Replies)
Discussion started by: snchaudhari2
4. UNIX for Advanced & Expert Users
I am not sure if I am using the correct terminology but somehow my tty keeps changing on me. The man pages are confusing to me on what exactly the tty is. This is what I see when I run the tty command. Could anyone explain why my tty keeps changing?
~ $ tty
~ $ tty
/dev/pts/0 (6 Replies)
Discussion started by: cokedude
I've been experimenting with pseudo-terminals and found something I don't quite understand. Writing an EOF character to the master end doesn't work quite as I expect. Once I've written any other data, the master pty seems to treat a single ^D as a seperator, i.e. writing "abcabc" would let cat do... (1 Reply)
Discussion started by: Corona688
6. UNIX for Advanced & Expert Users
I know there is a thread on the subject but is not related to solaris so I am posting this question for help
I have a solaris 8 machine. I can log in through the console but when trying to log in through putty/telnet after accepting username and password it gives the follwing error
"Server... (2 Replies)
Discussion started by: Tirmazi
I am getting this error "Server refused to allocate pty"
and Not able to login and I have to restart the server, this works fine for one day again 2 nd day when I am trying to login I am getting this error "Server refused to allocate pty", Can any body suggest me how to resolve this... (1 Reply)
Discussion started by: manoj.solaris
can anyone tell me what is the meaning of tty,or give me an example of this? (1 Reply)
Discussion started by: magasem
i am looking for a good example to explain *why* someone should use pty's. (3 Replies)
Discussion started by: grumpf
today I could not telnet in AIX 5.2 cause I received the error
"telnetd: All network ports in use".
To allow users to telnet again I increased the number of ptys from default 256 to the new number 512.
To avoid the same problem in the future and for a better understanding, I need... (2 Replies)
Discussion started by: l-roner