LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
Search this Thread
Old 11-14-2009, 12:01 PM   #1
windstory
Member
 
Registered: Nov 2008
Posts: 443

Rep: Reputation: 31
[Resolved]freesshd- after logging, could not type any letter on prompt


I installed Freesshd - freesshd.com.

After logging in windows 7 x64 from centos 5.4 x86, I could not type any letter on prompt.

Code:
[root:localhost:~]# ssh ts1027@test.com -p 1022
ts1027@test.com's password:
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\system32>
And,FreeSSHDService.ini is here;

Code:
[Telnet server]
TelnetListenAddress=192.168.0.2
TelnetListenPort=
TelnetMaxConnections=0
TelnetTimeout=0
TelnetBanner=
TelnetCMD=C:\Windows\system32\cmd.exe
TelnetRun=0
TelnetNewConsole=0
[SSH server]
SSHListenAddress=192.168.0.2
SSHListenPort=1022
SSHMaxConnections=0
SSHTimeout=0
SSHBanner=
SSHCMD=C:\Windows\system32\cmd.exe
SSHRun=1
SSHNewConsole=0
SSHCiphers=0
SSHMACs=65535
SSHPasswordAuth=0
SSHPublickeyAuth=0
SSHPublickeyPath=D:\Program Files (x86)\_server\freeSSHd\
RSAKeyPath=D:\Program Files (x86)\_server\freeSSHd\RSAKey.cfg
DSAKeyPath=D:\Program Files (x86)\_server\freeSSHd\DSAKey.cfg
[SSH tunneling]
SSHLocalTunnel=1
SSHLocalTunnelOnly=0
SSHRemoteTunnel=1
SSHRemoteTunnelOnly=0
[SFTP]
SFTPHomePath=K:\starters-ftp\works_sftp
[Access filtering]
HostRestrictions=
HostRestrictionsAllow=0
[Logging]
LogEvents=1
LogFilePath=D:\Program Files (x86)\_server\freeSSHd\freesshd.log
LogResolveIP=1
[Automatic updates]
UpdateCheckOnStartup=1
UpdateDontPrompt=1
UpdateShowMessages=1
UpdateLastMessageID=1
[Users]
UserCount=4
[User0]
Name=Administrator
Auth=0
Password=000000000000000000000000000000000000000000
Domain=
Shell=1
SFTP=1
Tunnel=1
[User1]
Name=starters
Auth=0
Password=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Domain=
Shell=1
SFTP=1
Tunnel=1
[User2]
Name=SendUser
Auth=0
Password=000000000000000000000000000000000000000000
Domain=
Shell=1
SFTP=1
Tunnel=1
[User3]
Name=user2
Auth=1
Password=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Domain=
Shell=1
SFTP=1
Tunnel=1
Please let me know how to solve this problem or have a link of documents.

Last edited by windstory; 11-16-2009 at 12:37 AM.
 
Old 11-15-2009, 06:07 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,003
Blog Entries: 54

Rep: Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763
Quote:
Originally Posted by windstory View Post
I installed Freesshd - freesshd.com. After logging in windows 7 x64 from centos 5.4 x86, I could not type any letter on prompt.
Interesting.
- Does "D:\Program Files (x86)\_server\freeSSHd\freesshd.log" show any details?
- Else does using "ssh -v -v -v"?
- Else does using ssh from another mcrsft or GNU/Linux machine?
- Else does using 'ssh' w/o allocating a TTY and getting the remote env show anything interesting?
* BTW, regardless of the platform, allowing root or Administrator to access and log in over the network is not a best practice.
 
Old 11-15-2009, 10:43 AM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,965
Blog Entries: 11

Rep: Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865Reputation: 865
Moved: This thread is more suitable in <GENERAL> as it appears to be related to a windows issue, and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 11-16-2009, 12:03 AM   #4
windstory
Member
 
Registered: Nov 2008
Posts: 443

Original Poster
Rep: Reputation: 31
unSpawn/

Thanks for your kind relpy.

About prompt problem, I solved by updating freesshd progrma with latest version.
But I have another problem.

I could not make public key connection between windows 7 and centos 5.4 x86.
I made publc key with puttygen.exe and upload to cenots and made authorized_kys in ~/.ssh directory with "chmod 700 authorized_keys".
then I tried ssh key connection a follows;

Quote:
[root:localhost:~]£ ssh -v ts1027@test.com -p 8022
OpenSSH_4.3p2, OpenSSL 0.9.8e-fips-rhel5 01 Jul 2008
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to test.com [121.1xx.xxx.xxx] port 8022.
debug1: Connection established.
debug1: permanently_set_uid: 0/0
debug1: identity file /root/.ssh/identity type -1
debug1: identity file /root/.ssh/id_rsa type -1
debug1: identity file /root/.ssh/id_dsa type -1
debug1: loaded 3 keys
debug1: Remote protocol version 2.0, remote software version WeOnlyDo 2.1.3
debug1: no match: WeOnlyDo 2.1.3
debug1: Enabling compatibility mode for protocol 2.0
debug1: Local version string SSH-2.0-OpenSSH_4.3
debug1: SSH2_MSG_KEXINIT sent
debug1: SSH2_MSG_KEXINIT received
debug1: kex: server->client aes128-cbc hmac-md5 none
debug1: kex: client->server aes128-cbc hmac-md5 none
debug1: sending SSH2_MSG_KEXDH_INIT
debug1: expecting SSH2_MSG_KEXDH_REPLY
debug1: Host 'test.com' is known and matches the RSA host key.
debug1: Found key in /root/.ssh/known_hosts:1
debug1: ssh_rsa_verify: signature correct
debug1: SSH2_MSG_NEWKEYS sent
debug1: expecting SSH2_MSG_NEWKEYS
debug1: SSH2_MSG_NEWKEYS received
debug1: SSH2_MSG_SERVICE_REQUEST sent
debug1: SSH2_MSG_SERVICE_ACCEPT received
debug1: Authentications that can continue: publickey
debug1: Next authentication method: publickey
debug1: Trying private key: /root/.ssh/identity
debug1: Trying private key: /root/.ssh/id_rsa
debug1: Trying private key: /root/.ssh/id_dsa
debug1: No more authentication methods to try.
Permission denied (publickey).
This is my ssh.conf:
Quote:
# Host *
# ForwardAgent no
# ForwardX11 no
# RhostsRSAAuthentication no
# RSAAuthentication yes
# PasswordAuthentication yes
# HostbasedAuthentication no
# BatchMode no
# CheckHostIP yes
# AddressFamily any
# ConnectTimeout 0
# StrictHostKeyChecking ask
# IdentityFile ~/.ssh/identity
# IdentityFile ~/.ssh/id_rsa
# IdentityFile ~/.ssh/id_dsa
# Port 22
# Protocol 2,1
# Cipher 3des
# Ciphers aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour,aes192-cbc,aes256-cbc
# EscapeChar ~
# Tunnel no
# TunnelDevice any:any
# PermitLocalCommand no
Host *
GSSAPIAuthentication yes

ForwardX11Trusted yes

SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES
SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
SendEnv LC_IDENTIFICATION LC_ALL
Tinkster/
Thanks for your kind concerning about my post.
 
Old 11-16-2009, 12:38 AM   #5
windstory
Member
 
Registered: Nov 2008
Posts: 443

Original Poster
Rep: Reputation: 31
I resolved this problem by making rsa key at centos.
 
Old 11-16-2009, 12:41 AM   #6
unSpawn
Moderator
 
Registered: May 2001
Posts: 27,003
Blog Entries: 54

Rep: Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763Reputation: 2763
Well, what can I say? Well done fixing things yourself and providing the answer!..
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change .bashrc prompt for logging in via SSH. Amckin Linux - Laptop and Netbook 1 11-04-2009 12:48 PM
cannot type letter b in terminal bayonetblaha Linux - Software 2 05-22-2006 07:19 PM
how to type swedish letter with an english laptop? inverted.gravity Linux - Software 3 05-14-2006 03:40 PM
Getting to Lilo prompt to type commands Old Hat Linux Linux - Newbie 1 02-11-2004 05:17 AM
Logging in and getting login prompt again dkaplowitz Red Hat 5 11-21-2003 03:43 PM


All times are GMT -5. The time now is 08:31 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration