From 9fbab544a981a0fef4981a2b4e84d91517b9be4f Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 21 Sep 2021 00:32:23 +1200 Subject: [PATCH 1/1] add 1+5t ssh --- .gitignore.d/ssh | 3 +-- .ssh/config.in | 20 +++++++++++++++++--- .ssh/known_hosts.d/oneplus5t | 1 + 3 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 .ssh/known_hosts.d/oneplus5t diff --git a/.gitignore.d/ssh b/.gitignore.d/ssh index 072bbfd..95afde9 100644 --- a/.gitignore.d/ssh +++ b/.gitignore.d/ssh @@ -11,10 +11,8 @@ !/.ssh/authorized_keys.d/openpgp@smartcard !/.ssh/config.in !/.ssh/.gitignore -!/.ssh/known_hosts.d/catalyst.madduck.net !/.ssh/known_hosts.d/debconf.org !/.ssh/known_hosts.d/debian.org -!/.ssh/known_hosts.d/gauting.madduck.net !/.ssh/known_hosts.d/github.com !/.ssh/known_hosts.d/gitlab.com !/.ssh/known_hosts.d/lehel.madduck.net @@ -23,6 +21,7 @@ !/.ssh/known_hosts.d/mtfk.de !/.ssh/known_hosts.d/mtvic.madduck.net !/.ssh/known_hosts.d/northfiles.de +!/.ssh/known_hosts.d/oneplus5t !/.ssh/known_hosts.d/sgs5m !/.ssh/known_hosts.d/sgs7e !/.ssh/known_hosts.d/tilde-club diff --git a/.ssh/config.in b/.ssh/config.in index 9bc791b..ecd4f19 100644 --- a/.ssh/config.in +++ b/.ssh/config.in @@ -216,25 +216,39 @@ Host ini | ini.dyndns.madduck.net ### PHONES +Host oneplus5t | oneplus5t.phones.* + Port 2222 + User shell + HostName oneplus5t.phones + HostKeyAlias oneplus5t.phones + LocalForward localhost:8383 localhost:8384 + +Host tethered-oneplus5t + Port 2222 + User shell + HostName 192.168.43.1 + HostKeyAlias oneplus5t.phones + LocalForward localhost:8383 localhost:8384 + Host sgs7e | sgs7e.phones.* Port 2222 User shell HostName sgs7e.phones HostKeyAlias sgs7e.phones - LocalForward localhost:8383 localhost:8384 + LocalForward localhost:8382 localhost:8384 Host tethered-sgs7e Port 2222 User shell HostName 192.168.43.1 HostKeyAlias sgs7e.phones - LocalForward localhost:8383 localhost:8384 + LocalForward localhost:8382 localhost:8384 Host sgs5m | sgs5m.phones.* User shell HostName sgs5m.phones HostKeyAlias sgs5m.phones - LocalForward localhost:8382 localhost:8384 + LocalForward localhost:8381 localhost:8384 ### LOCAL VIRT HOSTS diff --git a/.ssh/known_hosts.d/oneplus5t b/.ssh/known_hosts.d/oneplus5t new file mode 100644 index 0000000..2f4f121 --- /dev/null +++ b/.ssh/known_hosts.d/oneplus5t @@ -0,0 +1 @@ +oneplus5t.phones ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNICycSxrytDKR9y2wiFRm29j4P9GcJRt54mk8EdHhzoCGjRcQ7Vj+qXKhepN3oITITKsHnIbaQ0zJBsYlFDjTw= -- 2.39.5