Create an SSH Client profile
When you first open Bitvise SSH Client after a fresh installation, it will show a blank default profile. Before you connect to a server, it is a good idea to first save a dedicated profile:
It is a good idea also to designate a folder in your filesystem to store your SSH Client profiles. In the above example, I created a folder named «SSH» under C:\Users\denis.
Enter connection information
After you have saved a new profile, populate the Login tab with basic connection information:

The information we entered in this case is as follows:
localhost as the address of the SSH server. This is because we are making a trial connection to an SSH Server instance running on the same computer.
47506 to match the port number we configured in the SSH Server. If the server were accepting connections on the default SSH port, we would leave this value at 22.
denis is the name of the account with which we are currently logged into Windows. The SSH Server is running with a default configuration, so it will accept a login with this account.
If you are logged into Windows with a domain account or with a Microsoft account, you can enter the full account name using the DOMAIN\USER format or the user@domain.com format.
gssapi-with-mic as the initial authentication method. This is a single sign-on authentication method that utilizes either Kerberos or NTLM over GSSAPI, and can authenticate you using the Windows account with which you are already logged in.
gssapi-with-mic works for connections to the same computer, or when the SSH Client and Server are part of the same Windows domain forest. For connections across the internet, you will later use password or publickey.
Once you have entered this information, save the SSH Client profile again.
Host key verification
Before you press the Login button, check the SSH Server Control Panel, and make sure that the SSH Server is running. If it is not, start it.
If the SSH Server is started, the following will occur when you press Login:

The SSH Client is alerting you that the SSH Server’s host key must be verified before the connection can be trusted.
Verifying the host key is crucial to the security of the SSH session. If the host key is not verified, anyone with the ability to hijack network traffic will be able to intercept the SSH session. This could be an ISP, or anyone in proximity when using a wireless connection.
To verify the host key, compare the SHA-256 fingerprint — highlighted in the screenshot — with the fingerprints shown in the SSH Server Control Panel:

When verifying the fingerprint:
- The entire fingerprint must match.
- If you check just the beginning or end, it is easy to fake a fingerprint that matches only in those digits.
- Favor the SHA-256 version of the fingerprint, if both the client and server make it available.
- If SHA-256 is not available, check Bubble-Babble.
- MD5 is the weakest version of the fingerprint, and should not be relied on unless there is no other form.
Successful login
Once you have verified the fingerprint; if the login information provided is correct; the following windows will open:

The following events have happened:
- The SSH Client has opened a new SFTP window. This allows you to upload and download files between the client computer and the server.
- The SSH Client has opened a new terminal console window. This is hidden behind the SFTP window in the screenshot, but appears in the task bar.
- Because we are connecting to the SSH Server on the same computer, connection notifications from the SSH Server Control Panel are visible.
If we have made it this far, we have confirmed that the SSH Server is running and accepting connections.
Automatic opening of terminal and SFTP windows
If you do not wish the SSH Client to automatically open a terminal and SFTP window when you login, you can change this behavior on the SSH Client’s Options tab:

Next steps
If SSH Server settings are still at defaults, then at this time:
- Assuming the Windows Firewall service is enabled (recommended!), the SSH Server is still only accepting connections from the same local subnet (if a Private or Domain network profile is active), or from the same computer (if a Public network profile is active).
- For now, the SSH Server will allow login with any Windows account that has the Windows security privilege to «Log on locally».
- No virtual accounts are configured.
The next steps involve configuring the SSH Server to provide the type of access you desire; and to the users you desire.
SSH-туннель для обхода блокировок сайтов, на примере Bitvise SSH Client

Современный интернет уже не настолько доступен, как в былые времена. Несмотря на широчайшее распространение в мире, внутри самой сети неустанно вводится все большее количество ограничений, связанных с лицензиями, авторским правом, местным законодательством и прочими препонами, отбирающее возможность свободного получения информации. В отдельных государствах блокируется доступ ко многим сайтам, или целым сегментам сети, что, конечно же, не может вызывать нашего недовольства.
Распространенный способ обхода блокировок путем использования различных анонимайзеров и прокси-серверов с каждым днем теряет свою актуальность, так как провайдеры успешно определяют посещение через них заблокированных ресурсов и блокируют, в свою очередь, уже сами прокси. Каким же образом обойти запреты и, к тому же, не дать возможности провайдеру установить, какие именно ресурсы вы посещаете? Стоит посоветовать использование SSH-туннеля , как защищенного транспорта для вашего сетевого трафика.
SSH (Secure Shell) – сетевой протокол, шифрующий все передаваемые через него данные, в том числе и пароли, который предоставляет возможность передавать по зашифрованному каналу практически любую цифровую информацию.
Схематически подключение выглядит таким образом:

ваш компьютер, обмениваясь ключами, устанавливает защищенное соединение с сервером, по которому и проходит обмен информацией. Выход в интернет происходит с обратной стороны SSH-туннеля.
Перечень преимуществ при его использовании достаточно велик:
- Шифрованный канал, установленный между вашим компьютером и сервером, не позволяет определить, что за данные по нему передаются. Таким образом, ни провайдер, ни какой-либо злоумышленник, не смогут определить, какую вы информацию запрашиваете или передаете через туннель. Этим методом обеспечивается безопасность данных, например, внутри страны (если сервер находится за рубежом).
- Все ваши запросы будут иметь IP-адрес сервера, т.е. SSH-туннель работает как прозрачный анонимный прокси. Таким образом, если сервер, к которому вы подключаетесь, находится в Германии или Канаде, у вас будет соответствующий адрес и вы сможете, к примеру, просматривать в YouTube ролики, недоступные для жителей России или Казахстана.
- Никакие блокировки отдельных сайтов вашим провайдером на вас распространяться не будут – через него вы подключаетесь только к SSH-серверу, а дальнейший серфинг по сети происходит уже из той точки, где сервер подключен к интернету и блокировки провайдера не оказывают на него никакого воздействия.
Где же и как подключиться к SSH-серверу?
Во-первых, существует некоторое количество бесплатных серверов, предоставляющих Shell-доступ. Кроме того, огромное количество ресурсов предоставляют платный сервис за довольно умеренную цену. Воспользуйтесь поисковым запросом «SSH-сервер» и вы быстро обнаружите искомое. Ну и в-третьих, если вы уже оплачиваете хостинг для своего сайта с поддержкой Shell, вам вообще не нужно о чем-то беспокоиться – все необходимое для доступа в сеть через SSH у вас уже есть.
Для обеспечения туннеля стоит воспользоваться программным обеспечением Bitvise SSH Client, которое кроме туннелирования предоставляет возможность защищенной передачи файлов между вашей машиной и сервером, а также имеет встроенный терминал для Shell-доступа к серверу. Кроме того, важным преимуществом этого SSH-клиента является бесплатная лицензия для индивидуального использования.

Настройка Bitvise SSH Client
Сложностей при настройке этого ПО практически нет. Для начала, на вкладке “Login” необходимо указать адрес сервера (1) и порт (2) для подключения (уточните у хостера или в сервисе, предоставляющем доступ к SSH-серверу), а также свои учетные данные для Shell-доступа – логин (3) и пароль (4). Впоследствии вы сможете установить аутентификацию при помощи RSA-ключей, но для начала установим парольную аутентификацию (password).

При желании, пароль для соединения можно запоминать в профайле, для чего следует устанавливать соответствующую галочку:

На вкладке “Options” стоит установить опцию “Автоматически восстанавливать соединение” (1), а также снять галочки открытия окон терминала и SFTP автоматически после соединения (их всегда можно будет открыть вручную):

Для включения туннелирования, на вкладке “Services” установите галочку “Enabled” в разделе “Socks/HTTP Proxy Forwarding”. Для локального использования ни адрес, ни порт менять не нужно, а вот запомнить их стоит:
Настройки желательно сохранить, для чего в левой части экрана есть соответствующая пиктограмма (1). В том случае, если у вас несколько серверов, к которым вы можете подключаться, можно создать необходимое число профайлов, сохранив в каждом из них данные для доступа к необходимому серверу, а после загружать требуемый с помощью пиктограммы загрузки (2).

Настроенный клиент подключается к серверу с помощью кнопки “Login” в нижней части экрана:

Если вы не ошиблись во вводе учетных данных, сервер сообщит о том, что аутентификация прошла успешно и установит защищенное соединение.

После установки соединения автоматически запускается локальный Socks-прокси, подключаясь к которому, вы получите доступ к сети через SSH-туннель.
Для подключения, откройте настройки прокси в вашем браузере или другой программе, использующей подключение к сети, и укажите адрес вашего SSH-Socks:

После сохранения установок, соединения ваших программ будут направляться через SSH-туннель, каждое соединение отражается в окне Bitvise SSH Client:

Теперь вы используете подключение к интернету при помощи сервера, с которым установили соединение, следовательно, проблем с доступом к сайтам, блокированным в нашем сегменте интернета, больше не возникнет.
Проверить, какой IP-адрес в качестве вашего “видят” сайты, которые вы посещаете, можно с помощью сервисов 2ip.ru, myip.ru и множества подобных:

Обращаем внимание тех пользователей, что собираются использовать SSH-туннель в качестве сокрытия своего реального IP-адреса, в целях анонимности. Множество браузеров (Opera, Google Chrome и т.д.) и других программ (например – Skype), невзирая на то, какие установки вы используете для соединения с сетью, пытаются устанавливать прямые служебные соединения, минуя прокси. Это, само собой, моментально сводит на нет вашу анонимность, раскрывая реальный IP адрес.
Для устранения подобного разоблачения, необходимо в правилах брандмауэра запретить для всех программ исходящие соединения, кроме соединения на адрес вашего прокси (127.0.0.1). И разрешить программе Bitvise SSH Client исходящее соединение с адресом SSH-сервера. В этом случае анонимность будет соблюдаться безукоризненно.
Configuring public key authentication with Bitvise SSH Client

For CloudPages installation or to perform any task with the server you often need server SSH access. The service provider may provide you the SSH access at the time of creating the server. You may know about different types of SSH clients and their use. SSH clients are software or application which are used to access server terminals to perform different types of functions. Here we will learn to configure public key authentication with the Bitvise SSH Client.
In this article, we are going to write about a popular SSH client that is Bitvise. Bitvise is one of the popular and easy-to-use SSH clients. Thousands of users are using it. Bitvise allows you easy access to the server terminal and SFTP. You can install, remove, update packages and perform other operations using it.
In this article, our main focus will be about the SSH key generation, how to import or export it, and its use. Basically, some providers allow public-key access methods and some allow password access methods. Both have their own importance and use but in this article, our focus is only on the key authentication method.
Table of Contents
What is SSH?
As we know computers need to communicate with each other. And for the communication, they need a way or path or a network protocol. And we always focus to have a secure protocol to access and communicate between computers. For this purpose, a protocol is used between computers and one of them is SSH. SSH is a secured network protocol to access remote computers in a network.
Secure Shell or Secure Shell or Secure Socket Shell, this protocol enables secure communication and access to remote computers. You can connect to another machine using SSH without having physical access to it; the connection is made over the internet.
What is Bitvise SSH Client?
Bitvise is a software or application that is used to access your remote server using its credentials. Bitvise SSH Client is a free program Using this tool, you can establish an SSH connection. A user typically launches the program interactively, so it runs only when it is launched by the user. Additionally, it can be run unattended for performing scripted commands or transferring files, as well as maintaining a port forwarding configuration.
Bitvise SSH client is supported by all the desktop and server versions of windows both 32 and 64 bit. It supports Windows XP, Windows 7, Windows 8, Windows 10, server 2003, to server 2019, and all.
Download Bitvise
To download the Bitvise client just click on the Download Now button present below.
Downloading Bitvise is very easy and a few click process. Just click on this button and download the stable version of Bitvise now.

Install Bitvise Client
Once the download process is done now it’s time to install Bitvise Client on your system.
To install Bitvise just open the Bitvise file and then follow the instructions.
- Run and Accept to terms and you can add some information there.
- Check desktop icon button if you need it to create a desktop shortcut.
- Finally the installation has begun. The black screen is displaying the installation process.
How to use Bitvise?
As explained Bitvise is used for the remote server SSH access. You can access Bitvise using a password. To use Bitvise what you need is:
- Server IP
- Server user (SSH username)
- Password or Public key
If you have these things you can log in to your remote server SSH and you can do the following things.
- Use terminal (Install, remove, update any packages etc)
- Transfer files
- Download and upload files
If you access your server using Bitvise means you have access to your system and you can do anything you want.
How to generate a Bitvise SSH key?
If you want to generate a new SSH key for your Bitvise SSH client to use it for the communication between servers you just have to open Bitvise client and follow these steps.
On the dashboard of Bitvise SSH client, you can see a Client Key Manager button click there and it will open a pop-up window for you

Here you can see a Generate New button click on that.

It will ask you for the following information provide that and click on the generate button.

It will take some time to generate, you can see the process while the key is getting generated:

Once generated you can see the key in the list in your key manager.

You can use this key to access any server. Read below about import and export.
How to import and export SSH from Bitvise?
Often you need to import or export your public or private SSH keys. Bitvise has this option and you can do it if you need to share your key with anyone or someone send you their key you can also import that.
Import Public Key:
To import a key in Bitvise SSH client you just need to have the key in your system and after that go to Bitvise.

Here you can see a Client Key manager button click on that. A keys popup screen will appear.

On the pop-up screen, you can see the import-export and all options click on the import option to import the key to your SSH client.

Select the key from your computer and import it, it will show like this in your Bitvise. From the Client keys, you can select the key using which you want to log in.

Export Public Key:
You can also export your public or the private key from the Bitvise. Usually you need to export public keys so that you can add them to your remote server for password less authentication.
Go to the Bitvise SSH client and click on the Client Key Manager.

Then on this page, you can see an export button select any key from the list, and then click on the Export button

This will ask you for the selection of key format. For this will select the second option that is the Open SSH format.

After doing all this just click on the export button and it will ask for the location to save, confirm that and save.

Add Public Key in CloudPages for password less authentication:
Go to the server Dashboard and click on List Websites on the sidebar.

Select Website
Select the website that you want to add a public key to:

Click on Settings in the sidebar of the website

Click on the Change password for adding new key.

Add public key
Click on + Add Key button

A pop-up will appear on your screen enter your public key (that you have exported from Bitvise) in this box and press add button

You can see that key is added to your website linux user. If you use key based login, you need not set password for this linux user.
Настройка SSH авторизации по ключу
Роман Владимирович Петров 13 февраля 2021
Доступ по публичному ключу по терминалу ssh намного удобнее и проще и имеет свои плюсы.
Рассмотрим как это делается, разделим это на несколько этапов.
1. Создание ключей доступа.
2. импорт ключа в роутер или Unix / Linux
3. бес парольное подключение.
Создание ключей: Публичный и Секретный ключи.
Публичный ключ — используется на роутере и на него загружается.
Секретный ключ — с помощью него мы и будим подключаться к нашему роутеру , его нужно хранить в секрете. ( из секретного ключа можно создать публичный ключ, он его содержат в себе, если он будит утрачен случайно)
Доступ по терминалу ssh и создание ключей мы используем программу Bitvise SSH Client , скачать можно перейдя по ссылки, скачиваем и устанавливаем, запускам приложение.
Нажимаем » Client key manager» в этом разделе мы создадим ключи доступа.
Нажимаем «Generate New» — С генерировать новый ключ.

Выбираем «Size» — шифрование, в «Comment» — можем написать что угодно. В «Passphrase» — можно задать пороль если вы безумны, это дополнительная защита ( мы не будим вводить! ), далее нажимаем «Generate».

Мы видем как с генерировался ключ с внутренним названием в Bitvise — Profile 1.
Далее экспортируем «Export» ключи : ПУБЛИЧНЫЙ И СЕКРЕТНЫЙ на свой компьютер для дальнейшего использования.

«Private» — секретный ключ. Экспорт в разных форматах для разных программ.
«Public» — публичный ключ. Мы будим использовать формат OpenSSH format.
Далее заходим в Web интерфейс 192.168.1.1 на роутер Kroks или любой другой.
Переходим в раздел: Сиситема / Управление / SSH ключи. Перетащим публичный ключ файл, и он сам импортируется.

На этом этапе все закончено, ключ импортировался, более нечего делать не нужно. Переходим к приложеню Bitvise.
Заполняем настройки в приложении и нажимаем » Login in «
Host — 192.168.1.1 ( ip адрес вашего роутера )
Username — root ( Логин от роутера, у других может отличаться )
Initial method — publickey ( выбираем метод доступ по публичному ключу )
Client Key — Profile 1 ( Выберем профиль «Profile 1» )

На этом настройка и подключение закончено. Вы получили доступ по терминалу SSH и SFTP доступ к каталогам роутера.