Questions tagged [tty]
74 questions
1
vote
1 answer
git hook and ssh on server
I have a git repo on a server. I would like to run a update hook on this when a push is done.
I am unable to get git revlist or take any information from the user because i can't enable tty.
I have written the hook in python. I would like it so I…

myusuf3
- 173
- 1
- 7
1
vote
1 answer
ssh_config equivalent to ssh -t
Is there an equivalent to ssh -t in the ssh config?
I couldn't find anything in the man pages.
OpenSSH >= 8.9

secf00tprint
- 123
- 5
1
vote
0 answers
systemd-nspawn can't auto login
I'm trying to config auto login for my nspawn container and I created /etc/systemd/system/container-getty@.service.d/autologin.conf
and inside of that I wrote this config:
[Service]
ExecStart=
ExecStart=-/sbin/agetty -o '-p -f -- \\u' --noclear…

Jessica
- 11
- 2
1
vote
0 answers
How to assign a tty to a process?
I can configure a command which will be run without a tty (similar to a cronjob). The problem is that the binary to be run seems to require a terminal. Is there a way to run a process with a new tty assigned? I don't really care about the output,…

Julius
- 111
- 1
1
vote
0 answers
Script command on alpine
I want to preserve colors of docker exec command. The only way I found is to use script command like so
docker exec script -q -c "./spiral migrate:status" /dev/null
The problem is that my containers are alpine and there is no…

ogbofjnr
- 173
- 1
- 10
0
votes
0 answers
Fix or explain tty issue and gpg2
I'm having an issue importing or generating gpg secret keys on ubuntu 18.04 with my main (sudo) non-root user. With root user I have no problems with gpg, but non-root and it's basically permission denied.
When I execute tty, you can see g&o have no…

jacobnollette
- 101
0
votes
1 answer
ssh -N steals keystrokes
When I run an ssh session purely for tunnelling purposes, I start it like this:
ssh -N -L 5432:localhost:5432 user@host &
However, when I do so, about every second keystroke in the terminal where I've done this doesn't work. Other windows are…

Tom
- 327
- 2
- 11
0
votes
2 answers
Transfer binary files over /dev/pts
I am attempting to transfer a new Linux image, and corresponding files, between 2 boxes. Only my Controller has USB support containing my newly built kernel. I want to transfer the kernel from my Controller and get it running on the Guest but the…

jiveturkey
- 153
- 1
- 9
0
votes
1 answer
cant access tty:job control turned off After dist-upgrade
i cannot boot my server anymore
what is the problem
plz help

Sina Miandashti
- 51
- 4
0
votes
0 answers
echo message not coming on terminal with systemd
I have systemd service, say xyzWarmup.service.
Here is the service file
[Unit]
Description=Xyz agent.
After=fooAfter.service
Before=fooBefore1.service
Before=fooBefore2.service
[Service]
# During boot the xyz.sh script reads input from…

user3872776
- 1
- 1
0
votes
2 answers
No login prompt on tty[1-6] on Ubuntu 12.04.05
After disabling X on startup, no login ttys are offered on the console.
I don't see any login prompt in any of the tty[1-6], just a line saying "* Starting Automounter [OK]"
I have all the getty processes running and if I kill one, it respawn…

Sergio
- 1
- 1
- 1
0
votes
1 answer
PAM tty auditing on CentOS 6.4
I am trying to implement pam tty auditing using http://jaredrobinson.com/blog/linux-tty-auditing/ but it is not working for me.
Can some one tell me that any thing else apart from "session required pam_tty_audit.so enable=*" entry in…

haroon_aut
- 51
- 1
- 3
0
votes
2 answers
Remote login terminal
I have an unusual request. I have a box - running Fedora 19 - that I'm using as a server. I have a crappy Atom netbook - also running Fedora - that isn't good for anything. I was wondering if there is any way to set up that netbook as dummy…

Chris
- 248
- 1
- 2
- 9
0
votes
3 answers
tail -f AND allow text input
I want to create a script that allows some interactivity by
tail -f logfile from myService
allows text to be entered and sent to myService
What I could not solve yet is this two functions working parallel in one terminal. I would also like to…

Lorinc Nyitrai
- 103
- 4
0
votes
0 answers
Debian as TCP-Server for Serial Port redirecting
I want to start a tcp listener on debian. One client should be able to connect and should get inputs of serial port in the tcp connection. And when the client sends data through the tcp socket the data should be sent into the serial port.
I found…

feedc0de
- 269
- 1
- 2
- 9