質問編集履歴

1

情報の追加

2020/09/10 02:39

投稿

Yuki_S
Yuki_S

スコア356

test CHANGED
File without changes
test CHANGED
@@ -109,3 +109,41 @@
109
109
 
110
110
 
111
111
  同じプログラムでローカルPCからBを踏み台にしてRDSへの接続は確認できています。
112
+
113
+
114
+
115
+ tunnelの情報を取得しました。
116
+
117
+
118
+
119
+ ```Python
120
+
121
+ <class 'sshtunnel.SSHTunnelForwarder'> object
122
+
123
+ ssh gateway: XXXXXXXXX
124
+
125
+ proxy: no
126
+
127
+ username: ec2-user
128
+
129
+ authentication: {'pkeys': [('ssh-rsa', b'XXXXXXXX')]}
130
+
131
+ hostkey: not checked
132
+
133
+ status: started
134
+
135
+ keepalive messages: disabled
136
+
137
+ tunnel connection check: disabled
138
+
139
+ concurrent connections: allowed
140
+
141
+ compression: not requested
142
+
143
+ logging level: ERROR
144
+
145
+ local binds: [('0.0.0.0', 3306)]
146
+
147
+ remote binds: [('XXXXXXX.ap-northeast-1.rds.amazonaws.com', 3306)]
148
+
149
+ ```