Update server2.py
Browse files- server2.py +2 -2
server2.py
CHANGED
|
@@ -58,7 +58,7 @@ configs = [
|
|
| 58 |
local_port=8000
|
| 59 |
remote_port=7080
|
| 60 |
""", '/content/frp/frpc4.ini'),
|
| 61 |
-
("""
|
| 62 |
[common]
|
| 63 |
server_addr = 103.238.227.70
|
| 64 |
server_port=7000
|
|
@@ -66,7 +66,7 @@ configs = [
|
|
| 66 |
type=tcp
|
| 67 |
local_ip=127.0.0.1
|
| 68 |
local_port=22
|
| 69 |
-
remote_port=
|
| 70 |
""", '/content/frp/frpc5.ini')
|
| 71 |
]
|
| 72 |
kaggle_metadata = {
|
|
|
|
| 58 |
local_port=8000
|
| 59 |
remote_port=7080
|
| 60 |
""", '/content/frp/frpc4.ini'),
|
| 61 |
+
(f"""
|
| 62 |
[common]
|
| 63 |
server_addr = 103.238.227.70
|
| 64 |
server_port=7000
|
|
|
|
| 66 |
type=tcp
|
| 67 |
local_ip=127.0.0.1
|
| 68 |
local_port=22
|
| 69 |
+
remote_port={ssh_port}
|
| 70 |
""", '/content/frp/frpc5.ini')
|
| 71 |
]
|
| 72 |
kaggle_metadata = {
|