chore: Remove debug console.logs.
This commit is contained in:
parent
c8f317b0e5
commit
035c1e5b8f
1 changed files with 1 additions and 3 deletions
|
@ -114,13 +114,11 @@ export class SSHBackendProvider implements BackendBaseClass {
|
|||
const foundProxyEntry = this.proxies.find((i) => i.sourceIP == sourceIP && i.sourcePort == sourcePort && i.destPort == destPort);
|
||||
if (foundProxyEntry) return;
|
||||
|
||||
console.log("connection added");
|
||||
|
||||
(async() => {
|
||||
await this.sshInstance.forwardIn("0.0.0.0", destPort, (info, accept, reject) => {
|
||||
const foundProxyEntry = this.proxies.find((i) => i.sourceIP == sourceIP && i.sourcePort == sourcePort && i.destPort == destPort);
|
||||
if (!foundProxyEntry) return reject();
|
||||
|
||||
|
||||
const client: ConnectedClient = {
|
||||
ip: info.srcIP,
|
||||
port: info.srcPort,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue