francoismichel / francoismichel/ssh3

mesg: cannot open /dev/pts/6: Permission denied

Open
#64 1 comment 0 reactions 0 assignees View on GitHub
bug enhancement
Dominant language
Go
Stars
5k
Forks
118
PR merge metrics
No merged PRs in 30d

Description

appears openssh manages to make terminal owned by logged in user. also /etc/motd is not displayed with ssh3 and last login info

with ssh3:

```
$ ssh3 -privkey ~/.ssh/id_rsa niblus.local:444/ssh3-term
mesg: cannot open /dev/pts/6: Permission denied
glen@niblus:~ $ l `tty`
crw--w---- 1 root tty 136, 6 Dec 18 15:30 /dev/pts/6
```

with openssh

```
$ ssh niblus
Linux niblus 6.1.0-rpi6-rpi-2712 #1 SMP PREEMPT Debian 1:6.1.58-1+rpt2 (2023-10-27) aarch64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Thu Dec 14 18:06:21 2023 from 192.168.0.35

Wi-Fi is currently blocked by rfkill.
Use raspi-config to set the country before use.

glen@niblus:~ $ l `tty`
crw--w---- 1 glen tty 136, 6 Dec 18 15:30 /dev/pts/6
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.