[email protected] ~
$ ssh
usage: ssh [-1246AaCfgKkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]
[-D [bind_address:]port] [-e escape_char] [-F configfile]
[-i identity_file] [-L [bind_address:]port:host:hostport]
[-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
[-R [bind_address:]port:host:hostport] [-S ctl_path]
[-w local_tun[:remote_tun]] [user@]hostname [command]
[email protected] ~
$ ssh localhost
ssh: connect to host localhost port 22: Connection refused
$ ssh-host-config
Generating /etc/ssh_host_key
Generating /etc/ssh_host_rsa_key
Generating /etc/ssh_host_dsa_key
Generating /etc/ssh_config file
Privilege separation is set to yes by default since OpenSSH 3.3.
However, this requires a non-privileged account called 'sshd'.
...
Host configuration finished. Have fun!
[email protected] ~
$ net start sshd
The CYGWIN sshd service is starting.
The CYGWIN sshd service was started successfully.
[email protected] ~
$ ssh localhost
The authenticity of host 'localhost (127.0.0.1)' can't be established.
RSA key fingerprint is a2:6f:31:ed:d1:d9:7c:53:d8:b3:9d:79:82:9f:55:92.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'localhost' (RSA) to the list of known hosts.
On Fri, Apr 18, 2008 at 7:59 AM, Prerna Manaktala
wrote:
thanks
Already installed.
but still ssh to the newly created host in dyndns site is not working
ssh -i path to id_rsa prerna.dyndns.org..
it says connection to port 22 refused
Prerna
On Wed, Apr 16, 2008 at 9:17 PM, Edward J. Yoon wrote:I didn't try to run on cygwin, but you may need to install a ssh.
http://pigtail.net/LRP/printsrv/cygwin-sshd.htmlOn Tue, Apr 15, 2008 at 11:54 PM, Prerna Manaktala
wrote:
I tried to set up hadoop with cygwin according to the
paper:http://developer.amazonwebservices.com/connect/entry.jspa?externalID=873
But I had problems working with dyndns.I created a new host
there:prerna.dyndns.org
and gave the ip address of it in hadoop-ec2-env.sh as a value of MASTER_HOST.
But when I do bin/hadoop-ec2 start-hadoop the error comes:
ssh:connect to host prerna.dyndns.org,port 22:connection refused
ssh failed for
[email protected]Also a warning comes that:id_rsa_gsg-keypair not accesible:No such
file or directory though there is this file.
Thanks
Prerna
--
B. Regards,
Edward J.
--
B. Regards,
Edward J. Yoon