api-response-manager 2.6.4 → 2.6.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
  Command-line interface for API Response Manager. Manage tunnels, webhooks, and projects from your terminal.
8
8
 
9
- **Version:** 2.6.2 | **Live Service:** https://tunnelapi.in
9
+ **Version:** 2.6.5 | **Live Service:** https://tunnelapi.in
10
10
 
11
11
  ## Installation
12
12
 
@@ -158,14 +158,12 @@ async function connectTunnelClient(tunnelId, subdomain, localPort, protocol = 'h
158
158
  console.log(chalk.yellow.bold('🔌 TCP/SSH Connection Info:\n'));
159
159
  console.log(chalk.white(` TCP Host: ${message.tcpHost}`));
160
160
  console.log(chalk.white(` TCP Port: ${message.tcpPort}\n`));
161
- if (message.sshCommand) {
162
- console.log(chalk.gray('SSH Command (Linux/Mac):'));
163
- console.log(chalk.cyan(` ssh -o ProxyCommand="sh -c '{ printf \\"SUBDOMAIN:${subdomain}\\\\n\\"; cat; } | nc %h %p'" user@${message.tcpHost} -p ${message.tcpPort}\n`));
164
- console.log(chalk.gray('SSH Command (Windows with ncat):'));
165
- console.log(chalk.cyan(` ssh -o ProxyCommand="cmd /c \\"(echo SUBDOMAIN:${subdomain}& type CON) | ncat ${message.tcpHost} ${message.tcpPort}\\"" user@${message.tcpHost}\n`));
166
- console.log(chalk.gray('SSH with Key (passwordless):'));
167
- console.log(chalk.cyan(` ssh -i ~/.ssh/your_key.pem -o ProxyCommand="sh -c '{ printf \\"SUBDOMAIN:${subdomain}\\\\n\\"; cat; } | nc %h %p'" user@${message.tcpHost} -p ${message.tcpPort}\n`));
168
- }
161
+
162
+ console.log(chalk.gray('Connect via SSH:'));
163
+ console.log(chalk.cyan(` ssh <username>@${message.tcpHost} -p ${message.tcpPort}\n`));
164
+ console.log(chalk.gray('SSH with Key:'));
165
+ console.log(chalk.cyan(` ssh -i ~/.ssh/your_key <username>@${message.tcpHost} -p ${message.tcpPort}\n`));
166
+ console.log(chalk.gray.italic(' Replace <username> with your device\'s SSH username\n'));
169
167
  } else {
170
168
  // Display QR code for HTTP/HTTPS tunnels (not for TCP/SSH)
171
169
  displayQRCode(message.publicUrl);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "api-response-manager",
3
- "version": "2.6.4",
3
+ "version": "2.6.5",
4
4
  "description": "Command-line interface for API Response Manager",
5
5
  "main": "index.js",
6
6
  "bin": {