直接ssh进入容器并且移除自动进入HOME页面
This commit is contained in:
@@ -93,7 +93,7 @@ export default class RemoteContainer {
|
||||
console.log(`[RemoteContainer] Running in local environment, attempting firstConnect`);
|
||||
try {
|
||||
//传入真实IP
|
||||
await this.firstConnect(host, '192.168.10.4', username, port)
|
||||
await this.firstConnect(host, hostname, username, port)
|
||||
.then((res) => {
|
||||
if (res === 'success') {
|
||||
console.log(`[RemoteContainer] firstConnect succeeded, opening remote folder`);
|
||||
|
||||
Reference in New Issue
Block a user