Difference between revisions of "Tty"
Jump to navigation
Jump to search
(34 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{lowercase}} | ||
+ | [[wikipedia:tty (unix)]] | ||
+ | * <code>sudo [[systemctl enable]] [[serial]]-[[getty]]@[[tty]]S0.service</code> | ||
+ | * <code>sudo [[systemctl start]] [email protected]</code> | ||
− | |||
− | |||
+ | <code>[[--extra-args]]='[[console]]=[[ttyS0]]'</code> | ||
+ | |||
+ | |||
+ | * <code>[[last -t tty]]</code> | ||
+ | |||
+ | Feb 06 12:35:55 SERVER_NAME sshd[1851658]: pam_unix([[sshd]]:auth): [[authentication failure]]; logname= uid=0 euid=0 [[tty]]=ssh ruser= rhost=xx.228.54.xx user=USERNAME | ||
+ | |||
+ | == ttyUSB == | ||
[[dmesg]] | grep -i tty | [[dmesg]] | grep -i tty | ||
[26102.322883] usb 1-5: [[FTDI]] USB Serial Device converter now attached to ttyUSB0 | [26102.322883] usb 1-5: [[FTDI]] USB Serial Device converter now attached to ttyUSB0 | ||
[26102.323327] usb 1-5: FTDI USB Serial Device converter now attached to ttyUSB1 | [26102.323327] usb 1-5: FTDI USB Serial Device converter now attached to ttyUSB1 | ||
+ | |||
+ | * <code>[[/dev/]]ttyUSB0</code> | ||
+ | * <code>[[wvdial]]</code> | ||
+ | * <code>[[usb_modeswitch]]</code> | ||
== Related terms == | == Related terms == | ||
* <code>[[/dev/]]</code> | * <code>[[/dev/]]</code> | ||
− | * /dev/ttyUSB0 | + | * <code>/dev/ttyUSB0</code> |
+ | * <code>[[screen]] /dev/ttyUSB0 115200</code> | ||
+ | * <code>[[/proc/cmdline]]</code> | ||
+ | * <code>[[sar -y]]</code> | ||
+ | * [[EC2 Serial Console]] | ||
+ | * <code>[[ssh -t]]</code> | ||
+ | * <code>[[docker run -t]]</code> | ||
+ | * [[loginctl]] | ||
+ | * <code>[[stty sane]]</code> | ||
+ | * <code>[[pkttyagent]]</code> | ||
+ | * <code>[[requiretty]]</code> in <code>[[/etc/sudoers]]</code> | ||
+ | * [[Alan Cox]] | ||
+ | * <code>[[virsh ttyconsole]]</code>, <code>[[virsh console]]</code> | ||
+ | * <code>[[console=]]tty1</code> | ||
+ | * [[Unable to use a TTY]] - container your-container [[did not allocate one]] | ||
+ | * <code>[[aws ec2 get-console-output]]</code> | ||
+ | * [[This account is not authorized to use the EC2 serial console]] | ||
== See also == | == See also == |
Latest revision as of 11:21, 28 August 2024
sudo systemctl enable serial-getty@ttyS0.service
sudo systemctl start [email protected]
Feb 06 12:35:55 SERVER_NAME sshd[1851658]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=xx.228.54.xx user=USERNAME
ttyUSB[edit]
dmesg | grep -i tty [26102.322883] usb 1-5: FTDI USB Serial Device converter now attached to ttyUSB0 [26102.323327] usb 1-5: FTDI USB Serial Device converter now attached to ttyUSB1
Related terms[edit]
/dev/
/dev/ttyUSB0
screen /dev/ttyUSB0 115200
/proc/cmdline
sar -y
- EC2 Serial Console
ssh -t
docker run -t
- loginctl
stty sane
pkttyagent
requiretty
in/etc/sudoers
- Alan Cox
virsh ttyconsole
,virsh console
console=tty1
- Unable to use a TTY - container your-container did not allocate one
aws ec2 get-console-output
- This account is not authorized to use the EC2 serial console
See also[edit]
- Serial, tty, minicom, screen, PuTTY (plink),
getty, agetty, usb-devices
, usbserial, PTY, pts,minicom
,screen
, RequestTTY, stty,virsh ttyconsole, stty sane
, Unable to use a TTY,tty:
Advertising: