This is a tool to create a VM as a instant jumpserver in Azure.
- bash
- ssh / ssh-keygen
- Azure CLI (
az
command)
You can install this repository just by cloning it:
$ git clone https://github.com/hmasdev/azure-instant-jump-server.git
-
(Optional) open
./activate_instant_jumpserver.sh
in your editor and modify the parameters as you like; -
execute
./activate_instant_jumpserver.sh
:$ ./activate_instant_jumpserver.sh
-
Wait until you can log in to the VM with SSH. Generally, if you are in a state where you are waiting for a command with a display like the one below, it is OK:
azureuser@jumpserverVM1697425356:~$
Note that user name and server name are diffrent from the above example.
-
(Option) Set a SOCKS proxy:
- See related materials like the followings:
- Configuring a SOCKS proxy server in Chrome : https://www.chromium.org/developers/design-documents/network-stack/socks-proxy/
- [小ネタ?] Windows 10でSOCKSプロキシサーバーを利用する方法: https://dev.classmethod.jp/articles/tips-for-using-socks-proxy-on-windows10/
- NOTE: In
azure-instant-jump-server
, the hostname of the SOCKS proxy islocalhost
and its port is1080
.
- See related materials like the followings:
-
To delete the jumpserver you have created, logout from the server, that is, type
exit
in the shell displayed at Step.3.
azure-instant-jump-server
is licensed under the MIT License. See the LICENSE file for more details.