ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Quick​Pu​TTY

by npanuhin ST3 WinLinux

Sublime Text plugin for quick access to PuTTY SSH sessions

Labels ssh, putty

Details

Installs

  • Total 584
  • Win 543
  • Mac 0
  • Linux 41
Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12
Windows 0 0 0 0 0 0 0 1 0 0 1 0 0 1 0 0 0 0 1 0 1 0 0 1 0 0 1 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

QuickPuTTY

WIN|LINUX license: MIT


🚧 Unfortunately, this plugin has reached the end of its life 😔

The current version in the master branch requires a lot of fixing and refactoring (and is simply broken), so I can't just post it, although I really wanted to update the version before archiving the project

QuickPuTTY is a plugin for Sublime Text that allows you to save SSH sessions for quick access to them. It will be useful for those who often use SSH.

Supports folders with a unique navigation system, making it easy to add or remove sessions on the go (manual JSON editing is also possible).

Works with the free open source terminal emulator PuTTY.

Check out how quickly you can start an SSH session without entering username and password:

Installation

Plugin is available on Package Control and can be installed as follows:

  1. Press Ctrl + Shift + P, then enter Package Control: Install Package
  2. Choose QuickPuTTY in the list of available packages

After installation, you can find settings and README by going to Preferences > Package Settings > QuickPuTTY in nav-bar.

Usage

Create folder

  1. Go to PuTTY > New session/folder in the nav-bar and select Folder option
  2. Choose location to place new folder
  3. Enter folder name

Create session

  1. Go to PuTTY > New session/folder in the nav-bar and select Session option
  2. Choose location to place new session
  3. Enter server host/ip, port, username and password (last two are optional)

Edit sessions and folders

  1. Go to PuTTY > Manage sessions in the nav-bar
  2. Change the data presented in plain json format
  3. Do not forget to save the file

Remove session/folder

  1. Go to PuTTY > Remove session/folder in the nav-bar
  2. Select a session or folder you want to remove using the Choose location system

Choosing location

At each stage, you'll see a list of options:

item meaning
### Choose location ### Just a title
<HERE> Select this if you want to place session/folder in current location
{folder_№} Select a folder name to navigate into it

This plugin was tested in Sublime Text 4143 on Windows 10 (22H2) and Ubuntu 20.04.5 (iOS support coming soon). If you find a bug, mistake, or typo, you are very welcome to open a new GitHub issue or contact me directly (e.g., on npanuhin.me).

You can find the latest version of PuTTY on putty.org


Development

Code linting

pip install -U -r ".github/flake8.requirements.txt"
flake8 --show-source --statistics

# To install pre-commit hook:
pip install -U pre-commit
pre-commit install --config ".github/.pre-commit-config.yaml"

TODO

  • “Do not forget to save the file” — add autosave
  • JSON -> TOML (or other language with less “control characters”)
  • Test on iOS

Copyright © 2023 Nikita Panuhin (MIT)