Questions tagged [tty]

74 questions
0
votes
1 answer

How to configure Ctrl+Alt+F1 to F6 to use with putty instances in Windows?

Is it possible to set up putty (or a fork), have multiple terminals/logins open while fullscreen, but each one with a single dedicated shortcut for switching to it? Just like Ctrl+Alt+F1 to F6 switches tty terminals in many Linux systems. (To be…
n611x007
  • 127
  • 7
0
votes
3 answers

How to watch other console without notification?

I want to see what is freelance admin doing to my server. But all solutions i have found - screen, conspy, vnc does't met my needs. Conspy is great but i have to ask free-lancer to run it first to see what is happening. I want to connect into other…
barraba
  • 35
  • 1
  • 1
  • 7
0
votes
2 answers

Console Access -- how does this work?

My dedicated provider did the following: wget S03HvTechAccess > /dev/null 2>&1 mv S03HvTechAccess /etc/rc3.d/ > /dev/null 2>&1 chmod 755 /etc/rc3.d/S03HvTechAccess > /dev/null 2>&1 and it shows: /usr/bin/openvt -c 8 /bin/bash What is openvt? It…
Tiffany Walker
  • 6,681
  • 14
  • 56
  • 82
0
votes
1 answer

SSH Interactive mode not working

I have a Debian based linux server running for a year or so, without any problems. A couple of days ago, ssh interactive mode stopped working for no reason. I mean, I can open an ssh connection just fine, the server greets me with shell but I just…
Ekin Koc
  • 103
  • 3
0
votes
2 answers

Serial Port ttyUSB0

I picked up a USB serial null modem cable, so that I can connect up to a headless linux box. As a quick test, I plugged the device into the usb null modem, and the other end I connected to a windows pc. I opened up a terminal on the windows side,…
Alex
  • 1
0
votes
0 answers

Docker run failed: no space left on device "/dev/ptmx"

When I try to run any Docker container with an interactive terminal, I get the following error: $ docker run -it --rm my-container docker: Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable…
Green绿色
  • 101
  • 1
0
votes
1 answer

Difference between -t and -tt ssh

man ssh says: -t Force pseudo-tty allocation. This can be used to execute arbitrary screen-based programs on a remote machine, which can be very useful, e.g. when implementing menu services. Multiple -t options force tty allocation, even if…
secf00tprint
  • 123
  • 5
0
votes
0 answers

Display service output on console using systemctl

I have following service file - [Unit] Description=Open VPN Agent After=syslog.target After=network.target [Service] Type=forking TTYPath=/dev/pts/0 KillMode=process PIDFile=/opt/openVPN/pids/openvpnAgent.pid ExecStart=/opt/openVPN/openvpnAgent…
user784524
  • 1
  • 1
  • 2
0
votes
1 answer

When process writes to pseudoterminal slave, why it doesn't read what it wrote?

Here is my bash session: lrwx------ 1 stas stas 64 Mar 5 18:18 0 -> /dev/pts/0 lrwx------ 1 stas stas 64 Mar 5 18:18 1 -> /dev/pts/0 lrwx------ 1 stas stas 64 Mar 5 18:18 2 -> /dev/pts/0 We see that bash both reads from and writes to /dev/pts/0.…
0
votes
0 answers

pam_tty_audit collect only TTY events

I'm trying to put together a TTY logging feature under Ubuntu 18.04 server and created /etc/pam.d/tty-audit with the following content: session required pam_tty_audit.so enable=* and added that to /etc/pamd.d/common-auth: @include…
mc88
  • 3
  • 1
0
votes
1 answer

Can many script instances write to tty (parallel)?

I have recently migrated my upstart scripts to systemd, unlike upstart, I don't see any output on the tty for services being started/stopped. To get that visual feedback, I added something like echo "Starting $UNIT_NAME" > $MYTTY Where the…
Ani
  • 32
  • 2
  • 13
-1
votes
1 answer

Send input /dev/ttyUSB0 get the output

How can I send input to /dev/ttyUSB0 and get its output. I'm trying to do this in bash script. Any ideas?
denizeren
  • 329
  • 3
  • 11
-2
votes
1 answer

How can I chain a tty over multiple ssh hops

I have a target-server that is accessible by middle-server, and I want a terminal from my localhost to target-server, through middle-server. No need to open a port in my localhost.
fkrahe
  • 1
  • 1
-2
votes
4 answers

Connect two TTYs via TCP/IP

I have two computers running Debian and connected via Ethernet. They see each other. I need to connect two virtual terminals on this computer this way: anything I input in first terminal will be printed in another terminal and vice versa. I read…
1 2 3 4
5