habe meinen neuen Server so weit "abgedichtet", dass ich nur noch Zugang via SSH und PGP habe. Nur die Anmeldung beim MySQL- (Verzeihung: MariaDB-) Server klappt erst mal nicht, wie fast immer. Also was habe ich (u.a) versucht:
- Auf dem Client:
-- Portweiterleitung
Code: Alles auswählen
ssh -l root -L 3307:127.0.0.3:3306
Code: Alles auswählen
root@Melina:/home/hk# mysql --host=127.0.0.1 --port=3307 -u ***** -p*********
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0 "Internal error/check (Not system error)"
Code: Alles auswählen
Connection to port 3307 forwarding to 127.0.0.3 port 3306 requested.
debug2: fd 9 setting TCP_NODELAY
debug2: fd 9 setting O_NONBLOCK
debug3: fd 9 is O_NONBLOCK
debug1: channel 3: new [direct-tcpip]
debug3: send packet: type 90
debug3: receive packet: type 92
channel 3: open failed: connect failed: Connection refused
debug2: channel 3: zombie
debug2: channel 3: garbage collecting
debug1: channel 3: free: direct-tcpip: listening port 3307 for 127.0.0.3 port 3306, connect from 127.0.0.1 port 36462 to 127.0.0.1 port 3307, nchannels 4
debug3: channel 3: status: The following connections are open:
#2 client-session (t4 r0 i0/0 o0/0 fd 6/7 cc -1)