Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cisco-vpn-rdp-connecter

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cisco-vpn-rdp-connecter

Connect to Cisco AnyConnect VPN and open a Microsoft Remote Desktop (RDP) window

  • 3.2.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
8
decreased by-20%
Maintainers
1
Weekly downloads
 
Created
Source

cisco-vpn-rdp-connecter

Connect to Cisco AnyConnect VPN and open a Microsoft Remote Desktop (RDP) window

See FAQ for more details and background.

CLI

Install

npm install --global cisco-vpn-rdp-connecter

Usage

$ cisco-vpn-rdp-connecter --help

  Usage
    $ cisco-vpn-rdp-connecter

  Commands
    <none>            Connect to both VPN and RDP
    disconnect, d     Disconnect from both VPN and RDP
    status, s         Show connection statuses for VPN and RDP
    print-config, p   Print the VPN and RDP config

  Options
    --setup, -s       Setup the credentials for Cisco VPN and Microsoft RDP
    --only-vpn, -o    Only connect to VPN
    --save            Used together with --only-vpn to change the default command behavior
    --show-password   Show password in plain text when printing the password

API

Install

npm install cisco-vpn-rdp-connecter

Usage

import {connectToVpnAndOpenRdp} from 'cisco-vpn-rdp-connecter';

const vpnCredentials = {
    server: 'server.name',
    group: '1',
    username: 'knut',
    password: 'super_secure_password'
};
const rdpServer = 'rdp.server.name';

await connectToVpnAndOpenRdp(vpnCredentials, rdpServer);

Exports

connectToVpn(server, group, username, password)
openRdpWindow(server)
connectToVpnAndOpenRdp(vpnCredentials, rdpServer)
isCiscoAnyConnectInstalled()
isCiscoVpnConnected()
isRdpWindowOpened()
getAllCiscoVpnGroups(server)
getCiscoVpnDefaults()
getRdpDefaults()
disconnectFromVpn()
closeRdpWindow()

FAQ

Why this CLI?

Instead of:

  1. open Cisco AnyConnect
  2. type in credentials and connect
  3. open Microsoft Remote Desktop
  4. select server and connect

Just open a terminal and type cisco-vpn-rdp-connecter to do all that without the hassle.

I personally use this to efficiently connect to a remote work computer.

Keywords

FAQs

Package last updated on 09 Aug 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc