02-22-2005
Running ssh, X under Cygwin
Make sure you install every package you need: there are lots now - maybe 1.5GB of software!
On the screen that lets you choose packages, if you click on the icon to the right of "All" category, or on the word "Default", you can change "Default" to "Instal;l", which means install everything.
You need to have passwords and groups set up properly.
Run "mkpasswd -l > /etc/passwd; mkpasswd -d >> /etc/passwd"
Also run "mkgroup -l > /etc/group; mkgroup -d >> /etc/group"
Run the script: ssh-host-config to configure ssh.
Use ssh -Y when logging into a Unix system, not ssh -X.
When you're starting X, there are more options than in a normal Unix system. In particular, -multiwindow means use Windows as your window manager - so if you have another window manager in your ~/.xinitrc file, it'll bail out.
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi ,
I have cygwin software on my machine. can i practice shell script on that software or not?
thanks
sam71 (0 Replies)
Discussion started by: sam71
0 Replies
2. UNIX for Dummies Questions & Answers
Hi ,
I have software CYGWIN . Can i practice for shell script on that?
Thanks
sam71 (1 Reply)
Discussion started by: sam71
1 Replies
3. Solaris
hello solaris friends,
I've tried installing Sun Solaris 10.0, but everytime it seems to bypass the network config. screen that looks similar to this...here's the url:
http://www.hup.hu/old/images/hup/Solaris/Sol10beta7/9.png
I'm able to install it all the way through but I get no... (2 Replies)
Discussion started by: cadmiumgreen
2 Replies
4. UNIX for Dummies Questions & Answers
Hihi, another question for Cygwin gurus...
While im installing, there are many packages that can be installed.
Beside each packages, there are three columns:
status Keep, Reinstall, Uninstall, Source
bin? "blank", "cross", "n/a"
src? "blank',... (1 Reply)
Discussion started by: Suraine
1 Replies
5. UNIX for Dummies Questions & Answers
hihi, im new here.
just start to use cygwin as unix-based in Windows XP.
my installation of cygwin is not success, it has procedure entry_impure_ptr problem due with ash.exe, install_info.exe, and In-exe files.
do anyone know why is that so? (3 Replies)
Discussion started by: Suraine
3 Replies
6. UNIX for Dummies Questions & Answers
I have managed a successful install of Cygwin (after a few tries), and like any sensible person am ignoring the console in favour of the xconsole. I have this set up how I want - tcsh, all hot-keys (including ^z for suspend) and et cetera, but find it awfully slow. Are there any good... (7 Replies)
Discussion started by: fulgura
7 Replies
7. Shell Programming and Scripting
I'm using cygwin on win7, What I would like to do is something like this:
cygstart cygwin tail -f /foo/test.log | perl -pe 's/error/\e
I know I can start a new instance using either of these:
mintty -e ...
cygstart tail ...
But neither of those open in ANSI mode, so I can't do... (0 Replies)
Discussion started by: Validatorian
0 Replies
8. UNIX for Dummies Questions & Answers
Can someone help in Oracle installation on cygwin (2 Replies)
Discussion started by: Uinx_addic
2 Replies
9. Solaris
Not very helpful to say the least. Seems to read the flar file and go through the upgrade and then come up with this error.
Any ideas? (1 Reply)
Discussion started by: psychocandy
1 Replies
LEARN ABOUT LINUX
ssh-copy-id
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)