[[ header START ]]

Welcome to OS2.GURU site! (eComStation.RU)

Select your language: Russian English Deutch Spanish Italian Portuguese Czech Polish French

Frequently asked questions and answers:
telegram

Форум обсуждение

telegram

Send message

telegram

[ +7-981-8529467 (Санкт-Петербург)

telegram

t.me/os2_guru

eComStation.RU


ru · en · de · es · it · pt · cz · pl · fr
OS/2 is a greatly different operating system for PC (ArcaOS, eComStation, IBM OS/2 Warp)
Applications, news, reviews, support of users, hardware, questions and answers.
 
[What is OS/2?  News  Install  Update  
 
 
Usage  Future  Community  Projects  

How to buy
russian OS/2 apps?

The concept of
OS/2 development

(Map of the site)

 
 
[[ head-3-search ]]

Database of OS/2 compatible hardware

[[ head-3-search END ]]

 
Update

 
Applications

 
Advantages:

 
For developer:

 
(Пайпы программ)

 
Companies:

 
History:

 
(Бонусы)

 
Advice:

 
(Барьеры и решения)

 
Technologies:

 
(Применение в науке, лаборатории, ..)

 

 
Solutions

 
New eComStation:

 
Future:

 
(Ссылки на другие сайты)

 
(Картинка дня)

 
OS/2 artefacts:

 
Gadgets:

Upgrade ArcaOS to NeoWPS level

  • Install original PNG icons drawed by designer, specialized at OS/2 adornation.
  • Install eSchemes 2018 to change colors and buttons on desktop.

Secure PMVNC with SSH


TITLE: Secure PMVNC with SSH

DATE: 2004-11-01 10:38:13

AUTHOR: Eugene Romanenko

Please use online translator
go to http://translate.google.com
and request the translation of http://en.ecomstation./showarticle.php?id=119
to your language

VNC stands for Virtual Network Computing. It is remote control software which allows you to view and interact with one computer (the "server") using a simple program (the "viewer") on another computer anywhere on the Internet. The two computers don't even have to be the same type, so for example you can use VNC to view an office eComStation machine on your Windows PC at home. VNC is freely and publicly available and is in widespread active use by millions throughout industry, academia and privately.

To establish secure VNC connection follow this instructions:

On server, you will need 2 packages (both made by nickk, both can be downloaded from Hobbes):

Security/2
OpenSSH/2
  1. Install Security/2 package: just execute install.exe and follow instructions. Select "No local logon" during install. Reboot system.

  2. Change root password using "user" command. Type at cmd prompt: 'user -c root' - it will ask about new password.

  3. Install OpenSSH: unpack distributive into, for example, 'c:\ssh' directory. Copy 'ssh' directory from c:\ssh\etc to your ETC path.

  4. Generate server keys: execute command in c:\ssh:
    ssh-keygen -t dsa -f %ETC%\ssh\ssh_host_dsa_key -N ""

  5. Run sshd. (Use -d switch for debugging, if all works ok - run sshd.exe detached).

  6. Also you need change PMVNC settings to allow accepting connections from localhost and, optionally, disallow any other connection. These settings not present in properties dialog, but may be changed by editing profile. PMVNC store settings in User profile file under the ER_PMVNCD key. Use INI-editor or regedit2 to alter these options. Options are string type, even if represents numeric values. Add "AllowLoopback" string type option under ER_PMVNCD key, and set value to "1". If you want use only secure connections with VNC, then add "LoopbackOnly" option with value "1". For more information about these options see pmvnc.html from PMVNC distributive, "Hidden settings" section.

  7. Restart PMVNC after changing profile data.

On client:

  1. Unpack ssh distributive into, for example, 'c:\ssh' directory.

  2. Execute command in c:\ssh:

    ssh -l root -2 -N -L 5900:127.0.0.1:5900 server_host

    which means:

    connect as user "root" to server_host and also listen on local port 5900, all connections to local port 5900 route to port 5900 of server host using secure tunnel.
    On first connect you may see message
    The authenticity of host '...' can't be established.
    DSA key fingerprint is ....
    Are you sure you want to continue connecting (yes/no)?
    Type "yes".

    Then ssh will ask about password. Type password which you set at step 2 of server setup.

    SSH session will be started.

  3. Execute Vncviewer. It will ask about vncserver location. Type 127.0.0.1:0 and connect.

    You may run VNC session several times while SSH session is up. To close SSH session press Ctrl-C in SSH window.

Notes:

  • Client setup procedure is same on any operating system, just use ssh distibution for OS which you use.
  • SSH switch -N needed to workaround OpenSSH/2 problem - if cmd.exe used as user shell, sshd will echo client input, and binary protocols (like VNC) will not work. -N switch disables execution of user shell on server.
  • SSH can compress traffic (useful for modem connections). Use -C option for ssh to enable compression.

Additional information:

Test the program:

Widescreen activator - enable widescreen for ATI

Komentarze:

David van Enckevort
2004-11-24 13:36:17

Actually you do not need to login with the root account with SSH, since VNC doesn't use priviledged ports. So any account on the server should be good. From a security point of view it is always a good idea only login as root if really necessary.

Besides many servers disallow remote root logins. (sshd_config: PermitRootLogin).

Bernd Schemmer
2005-02-19 13:26:53

I'm using this approach the other way around: The server runs on a Solaris machine and the viewer runs on OS/2 . Works - but compared to Winxx the VNC viewer for OS/2 is very slow. If someone knows another viewer for OS/2 that is faster I would be glad to test it

Komentarz artykuЁu.


Twoje ImiЙ i Nazwisko:

TwСj E-Mail:

CODE:
......

  

TwСj Komentarz:


It's easy to maintain eComStation: a) Fast installation (20 minutes and it's ready), b) Universal drivers, replace a device - the system boots and continues work, c) Use eCS to recover damaged Windows (no danger to be infected by virus)

ArtykuЁy

Systemy operacyjne
Software
Hardware
Dla developerСw
RС©ne
Od autorСw





Ostatnie gЁosowanie: What is the height of RPM barrier?

[Google]

IBM OS/2 Warp

 
For dummies

Report: OS/2 compatible hardware

 
Reviews


     
  Why eComStation?
Features
Advantages
Usage
Clips and screenshots
   eComStation for
for businessmen
for students and engineers
for reselles of computers
community of users
   Developer
Distribute the program
Description of API, libraries
Start new project
Competition
   Applications
On-line catalogue
Select from eCo Market
   Support service
Contact the web-master
Buy eComStation
Frequently asked questions
for Beginners
 
 
© 2001 - 2021 eCo Software, All rights reserved
Сибирский Медведь технологическая компания
eComStation Serenity Systems International • OS/2 Warp IBM Corporation • ArcaOS Arca Noae