Sponsored Content
Top Forums Shell Programming and Scripting Get Hostname in UNIX like environment in Windows (Cgwin, UWin) Post 302934099 by blackrageous on Wednesday 4th of February 2015 03:37:45 PM
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.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
SSH-COPY-ID(1)						      General Commands Manual						    SSH-COPY-ID(1)

NAME
ssh-copy-id - install your public key in a remote machine's authorized_keys SYNOPSIS
ssh-copy-id [-i [identity_file]] [user@]machine DESCRIPTION
ssh-copy-id is a script that uses ssh to log into a remote machine and append the indicated identity file to that machine's ~/.ssh/autho- rized_keys file. If the -i option is given then the identity file (defaults to ~/.ssh/id_rsa.pub) is used, regardless of whether there are any keys in your ssh-agent. Otherwise, if this: ssh-add -L provides any output, it uses that in preference to the identity file. If the -i option is used, or the ssh-add produced no output, then it uses the contents of the identity file. Once it has one or more fin- gerprints (by whatever means) it uses ssh to append them to ~/.ssh/authorized_keys on the remote machine (creating the file, and directory, if necessary.) NOTES
This program does not modify the permissions of any pre-existing files or directories. Therefore, if the remote sshd has StrictModes set in its configuration, then the user's home, ~/.ssh folder, and ~/.ssh/authorized_keys file may need to have group writability disabled manu- ally, e.g. via chmod go-w ~ ~/.ssh ~/.ssh/authorized_keys on the remote machine. SEE ALSO
ssh(1), ssh-agent(1), sshd(8) OpenSSH 14 November 1999 SSH-COPY-ID(1)
All times are GMT -4. The time now is 04:30 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy