What do you want to save?
Add Code snippet
New code examples
-
Javascript 2022-03-02 14:15:03
ssh tunnel connect to mongodb in node.js
var config = { username:'myusername', host:'my.ip.address', agent : process.env.SSH_AUTH_SOCK, privateKey:require('fs').readFileSync('/Users/myusername/.ssh/id_rsa'), port:22, dstPort:27017, password:'mypassword' }; var server... Add solution -
Shell/Bash 2021-11-16 02:40:10
aws ec2 ssh connection
# Prevent EC2 SSH connection to prompt user to type 'y'/'n', do this: # Normal Connection prompts user, ask for 'y' or 'n' ubuntu@ubuntu:~/Documents$ ssh -i key/yyyyyy.pem ec2-user@ip The authenticity of host '.................' cant be established. ECDS... Add solution -
Python 2021-10-13 22:00:05
telnet via jump host using python
from jumpssh import SSHSession # establish ssh connection between your local machine and the jump server gateway_session = SSHSession('gateway.example.com','my_user', password='my_password').open() # from jump server, establish connection with a remote ... Add solution -
Shell/Bash 2021-09-27 03:36:02
SSH remote capture Wireshark
sshdump --extcap-interface=sshdump --extcap-config Output: arg {number=0}{call=--remote-host}{display=Remote SSH server address}{type=string} {tooltip=The remote SSH host. It can be both an IP address or a hostname}{required=true}{grou... Add solution
Best helpers
A G Davey
+5
JoshuaFicy
+5
Majte
+5
Entrepreneur
+5
Meital Regev
+5
Digcoal
+5
Arad
+5
NeuronQ
+5
Emmet
+5
Muazam
+5
Vigrond
+5
Scoiattolo
+5
Erica Price
+5