Get Hostname in UNIX like environment in Windows (Cgwin, UWin)


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Get Hostname in UNIX like environment in Windows (Cgwin, UWin)
# 1  
Old 02-04-2015
Get Hostname in UNIX like environment in Windows (Cgwin, UWin)

Hi,

I'm using UWIN (from at&t - a cygwin like environment) in my personal computer to show Unix like environment to someone new to Unix. Though UWin has Ksh command box, wanted to show Putty to that person.


My question is. How to connect to Cygwin (or UWin) installed in personal computer through Putty instead of their command box.

I tried following

a) nslookup MyComputerName
result: xxxxxx.comcast.net

b) ping MyComputerName
result: Reply from fe80::xxxxx::xx:xxxx:xxxx: time < 1 ms

c) hostname
MyComputerName

d) uname -a
UWIN-VI MyComputerName 4.2/6.2 9200 i686 i686 i386 UWIN-XP

Appreciate your help if you let me know to connect Unix like environment (Cygwin/UWIN) in my personal computer using PUTTY.
# 2  
Old 02-04-2015
In order to connect to a computer using putty or any other client tool, there has to be a server running on that system (in this case your personal machine). Putty can both ssh and telnet to a system. In order for either of these connections to be successful you have to run sshd or telnetd (respectively). So this is not just a matter of finding your hostname or ipaddress and it looks like you are using in ipv6 address.

Why not simpy install the environment on the other persons system. I would reallly recommend using vmware player and installing an opensource linux distribution. You won't have to worry about these issues.
# 3  
Old 02-05-2015
You cannot connect directly using SSH to a UWIN/Cygwin "environment" on a Windows system. You end up in Windows.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Getting started with windows and screens without desktop environment

Hi there, Hope the title is sufficiently self explaining. I have no idea how to start and where to start. I don't even know what keywords to google for. I need to build a machine : based on Debian without desktop environment with a quite powerful multi-monitor graphic card able to... (9 Replies)
Discussion started by: chebarbudo
9 Replies

2. AIX

Hostname of where any windows is opened ?

Is it possible to get the hostname of the server we are currently working on (physically) even if we have rlogged/tn to another one ? There is this DISPLAY variable we always have to setup everytime we log to a server (anyone). It has to be set to the name of the server we are physically working... (3 Replies)
Discussion started by: Browser_ice
3 Replies

3. Shell Programming and Scripting

UNIX Environment on Windows Machine

Hello World,:cool: Is there a Way to create a UNIX enviornment on Windows bases Machine for enchancing my Skills regarding UNIX scripting.:confused: I know a software name VMware but i dont know how to confiure it:rolleyes:. If this is the apporitate tool for UNIX please guide me the... (3 Replies)
Discussion started by: jojo123
3 Replies

4. UNIX for Advanced & Expert Users

configuring NTP in Solaris/Windows/Linux environment.

Can anybody please explain the below table to monitor NTP daemon status This contains many columns like remote,refid,st....various values corresponding to those columns If possible provide me any link to study about these quantities clearly. It is very much required for my project please... (3 Replies)
Discussion started by: sgand
3 Replies

5. UNIX for Dummies Questions & Answers

configuring NTP in Solaris/Windows/Linux environment.

configuring NTP in Solaris/Windows/Linux environment. Can anybody please explain the below table to monitor NTP daemon status This contains many columns like remote,refid,st....various values corresponding to those columns If possible provide me any link to study about... (1 Reply)
Discussion started by: sgand
1 Replies

6. Windows & DOS: Issues & Discussions

Running UNIX in windows environment ?

Hi... I have planned to run UNIX application in window environment such as cygwin. Actually, I have download the "cygwin" software but there are some libraries are not applicable in the software. Due to that, anybody know any others unix sofware can be run in windows XP environment ? (1 Reply)
Discussion started by: bh_hensem
1 Replies

7. Solaris

How to configure NTP in Solaris/Windows/Linux environment...???

Hi, Can someone let me know the detail procedure for configuring NTP in Solaris/Windows/Linux environment....??? I would like to use any NTP Server on Windows Server & rest of the systems running with Solaris 10/9 & Linux be as NTP Client. All NTP Client should take the time from NTP Server... (8 Replies)
Discussion started by: jumadhiya
8 Replies

8. UNIX for Dummies Questions & Answers

Unix in a Windows environment issue

What types of error messages would I recieve if the backbone of the network is setup for both Unix and Windows systems? (6 Replies)
Discussion started by: Aisha Sturkey
6 Replies

9. UNIX for Dummies Questions & Answers

uising ed in wipro uwin unix emulator

i have no clue what I am doing with the ed editor since i have never really used it.. the only thing is the sed edittor on the unix emulator I downloaded for windows is rather simple and the man pages are very vague... it doesn't function according to most linux operating systems that envoke sed..... (4 Replies)
Discussion started by: moxxx68
4 Replies

10. IP Networking

Transferring data to a windows environment using ftp

I need to transfer data from SCO Unix to a windows 2000 or 98 machine. The files are too big for doscp, and I can't get the right programs for transferring via kermit. So the next step, though perhaps more difficult, would be to set up an ethernet network and tranfer the data using ftp. I have... (3 Replies)
Discussion started by: ccs8217
3 Replies
Login or Register to Ask a Question