LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-09-2012, 03:31 PM   #1
loolooyyyy
Member
 
Registered: Nov 2011
Posts: 36

Rep: Reputation: Disabled
stuck at ssh?


i get stuck here, any ideas?

Code:
OpenSSH_5.8p1 Debian-7ubuntu1, OpenSSL 1.0.0e 6 Sep 2011
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: Applying options for *
debug1: Connecting to xxx.xxx.xxx.xx [xxx.xxx.xxx.xx] port 9999.
debug1: Connection established.
debug1: identity file /home/user/.ssh/id_rsa type -1
debug1: identity file /home/user/.ssh/id_rsa-cert type -1
debug1: identity file /home/user/.ssh/id_dsa type -1
debug1: identity file /home/user/.ssh/id_dsa-cert type -1
debug1: identity file /home/user/.ssh/id_ecdsa type -1
debug1: identity file /home/user/.ssh/id_ecdsa-cert type -1
i have changed port to 9999, to see if it works, same result as 22

by the way i have access to kloxo, this way i managed to allow port 9999 on server side for ssh
 
Old 01-09-2012, 04:24 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
not a networking question. moved to Software.

What is the serverside saying in all of this? client output is deliberately less useful than the servers view of things. run sshd in foreground mode with debugging if need be, but i expect you'll see plenty there. I can't remember exactly when it occurs, but the most frequent issue causing a delay on ssh is reverse DNS lookups on the server.
 
Old 01-10-2012, 05:13 PM   #3
loolooyyyy
Member
 
Registered: Nov 2011
Posts: 36

Original Poster
Rep: Reputation: Disabled
oh sorry i was in doubt if it was networking question or not

server is 'as it was' a month ago, it recently stopped working, i dont have access to run ssh deamon in debuging mode

by the way, ssh terminal of kloxo says:
Code:
......exception occured... at...at....at...at...at java.lang.thread.run, caused by: java.security.AccessControlException: access denied (java.home.read)
and 6more
i could never use it...

and, kloxo access connection log shows dozens of ssh attempts from an ip i dont know who's it is, which seems not to be in my country at all, all failed, though i have tried maybe...6,or 7 times, so i guess it's not me being 'failed', my ip is just not shown in the log

i cant remember much, but the DNS issue you mention caused the whole thing to fail with a message, not like me being stuck? or just delays in running commands,
i'm totally unable to access ssh

Last edited by loolooyyyy; 01-10-2012 at 05:31 PM.
 
Old 01-11-2012, 12:24 AM   #4
loolooyyyy
Member
 
Registered: Nov 2011
Posts: 36

Original Poster
Rep: Reputation: Disabled
figured it out, the evil ISP is blocking ssh
if changing my ISP is not an option, is there any workaround?
how can they manage to realize it's ssh? it's supposed to be encrypted? maybe i'm using ssl, how can they know?!?!
 
Old 01-11-2012, 01:16 AM   #5
fukawi1
Member
 
Registered: Apr 2009
Location: Melbourne
Distribution: Fedora & CentOS
Posts: 854

Rep: Reputation: 193Reputation: 193
They dont need to know what the traffic is, in order to block ports..
They just block everything aside from the ones they want to allow, such as http/s, smtp, imap, pop, etc etc.
 
Old 01-11-2012, 02:13 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
SSH is recognisable during the setup phase. For example, just telnet to am ssh port and you'll get a string back like "OpenSSH_4.5" from the server in plain text, before the security kicks in. You then have a standard recognisable handshake, not SSL, which has to occur to make the connection secure, which can be acted upon.
 
1 members found this post helpful.
Old 01-12-2012, 04:02 PM   #7
loolooyyyy
Member
 
Registered: Nov 2011
Posts: 36

Original Poster
Rep: Reputation: Disabled
fuwaki: it's the case sometimes, but most of the times they use more complicated methods than just whitelisting some protocols

acid:yes exactly, it get's stuck during authentication!!!
is there any workaround?
maybe telling ssh daemon not to send anything at all, just to check my ip, i can enter my ip manually in a config file if necessary since i can use VPN, my ip is not static but always in this range: xx.yyy.zz.0/200
there MUST be something i can do, i thought about compiling my own ssh server+client from openssh source, but it's just too much, can somebody tell me which part of it i should be editing? plus i dont know much about sockets,networking,protocols, etc... , but i'll learn as much as i need to.

you know what i miss? freedom...

Last edited by loolooyyyy; 01-12-2012 at 04:06 PM.
 
Old 01-13-2012, 05:19 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you could look at using tor to tunnel connectiosn over an http network, but I do find it very unliekly that the ISP is blocking SSH, unless you're in China or North Korea or something, that does seem quite excessive and very unusual.
 
Old 01-15-2012, 05:31 AM   #9
loolooyyyy
Member
 
Registered: Nov 2011
Posts: 36

Original Poster
Rep: Reputation: Disabled
dear acid, i live in someplace worse which i'm not gonna name, i'm afraid you're gonna abandon and hate me just by hearing the name
and yes, they have blocked it...
slowed down https and vpn to something near 5kb/s
tor is painfully slow
as (was) is ssh, but usable at least

just to know:i saw a picture showing an ssh packet, in the packet's header was port number, and also,the name ssh

Last edited by loolooyyyy; 01-15-2012 at 05:33 AM.
 
  


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
help ! stuck by ssh service jack_green Red Hat 2 11-21-2011 07:01 PM
no support for locale: en_Us.itf8 Stuck found some post but still Stuck!! Suec7832 Linux - Newbie 1 08-30-2011 08:13 AM
Drive stuck, how to I un-stuck it. MikeyCarter Linux - Software 3 08-05-2009 11:57 AM
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
Passwordless SSH with SSH commercial server and open ssh cereal83 Linux - General 7 04-18-2006 12:34 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:40 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration