====== curl als telnet alternatief ======
[[linux:linux|{{ :linux:linux_tux.png?120|}}]]
===== context=====
dit document beschrijft hoe je curl gebruikt als je geen telnet hebt.\\ shared hosting providers willen nog wel es gierig zijn op hun binaries ...
===== syntax=====
curl -vv telnet://:
===== voorbeeld =====
==== LDAP toegang ====
curl -vv telnet://ldap.jumpcloud.com:389
...
* Expire in 8 ms for 1 (transfer 0x5b469c6b8f50)
* Expire in 7 ms for 1 (transfer 0x5b469c6b8f50)
* Expire in 7 ms for 1 (transfer 0x5b469c6b8f50)
* Expire in 9 ms for 1 (transfer 0x5b469c6b8f50)
* Trying 35.157.197.143...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x5b469c6b8f50)
* Connected to ldap.jumpcloud.com (35.157.197.143) port 389 (#0)
==== MySQL toegang ====
curl -vv telnet://id333575_nextcloud.db.webhosting.be:3306 --output -
...
* Expire in 0 ms for 1 (transfer 0x64106d641f50)
* Expire in 0 ms for 1 (transfer 0x64106d641f50)
* Trying 5.134.5.189...
* TCP_NODELAY set
* Expire in 200 ms for 4 (transfer 0x64106d641f50)
* Connected to id333575_nextcloud.db.webhosting.be (5.134.5.189) port 3306 (#0)
Q
* RCVD IAC 193
===== meer info =====
{{tag>Linux networking curl}}