Results 1 to 18 of 18
-
09-08-2013, 12:35 AM #1Junior Guru Wannabe
- Join Date
- Jul 2013
- Posts
- 61
can login via KVM but not ssh/putty
i can login to my dedi via KVM but when i try to login via putty the password does not work.
Any ideas?
My host said gss is enabled and preventing me from loging in.
Anyone know the commands to fix it? (host cant do it since its unmanaged)
-
09-08-2013, 01:22 AM #2Web Hosting Master
- Join Date
- Oct 2009
- Posts
- 590
Few things to try for troubleshooting purposes:
iptables -P INPUT ACCEPT
iptables -X
iptables -F
setenforce 0
nano /etc/ssh/sshd_config
and check that port = 22 and PasswordAuthentication = yes
-
09-08-2013, 02:22 AM #3Web Hosting Master
- Join Date
- Jun 2007
- Posts
- 792
Ip configured correctly? can ping it?
Cloudzy
█ Cheap Windows VPS | Linux VPS | Bitcoin VPS | Forex VPS
█ Accept Credit Cards, PayPal, PerfectMoney, CryotoCurrency and Bitcoin
█ In business for more than 14 years - Since 2008
-
09-08-2013, 03:22 AM #4Junior Guru Wannabe
- Join Date
- Jul 2013
- Posts
- 61
-
09-08-2013, 03:41 AM #5Web Hosting Master
- Join Date
- Sep 2008
- Location
- Seattle, WA
- Posts
- 1,323
What do you mean by "none of those commands come up" all those commands should work on an out of box centos 6 install.
post us "uname -a".█ Brian Kearney, Stealthy Hosting/Server Stadium Seattle, WA [AS23033] Skype: StealthyHosting
█ Custom Dedicated Servers
█ Low Cost Instant Dedicated Servers
█ Email: Sales@StealthyHosting.com
-
09-08-2013, 04:22 AM #6The Linux Specialist
- Join Date
- Mar 2003
- Location
- /root
- Posts
- 23,991
Moved > Hosting Security and Technology .
Specially 4 U
Reseller Hosting: Boost Your Websites | Fully Managed KVM VPS: 3.20 - 5.00 Ghz, Pure Dedicated Power
JoneSolutions.Com is on the net 24/7 providing stable and reliable web hosting solutions, server management and services since 2001
Debian|Ubuntu|cPanel|DirectAdmin|Enhance|Webuzo|Acronis|Estela|BitNinja|Nginx
-
09-08-2013, 06:02 AM #7Web Hosting Master
- Join Date
- Oct 2009
- Posts
- 590
-
09-08-2013, 01:51 PM #8Junior Guru Wannabe
- Join Date
- Jul 2013
- Posts
- 61
-
09-09-2013, 06:35 PM #9Junior Guru Wannabe
- Join Date
- Jul 2013
- Posts
- 61
still cant get this working
-
09-09-2013, 07:17 PM #10Web Hosting Master
- Join Date
- Mar 2005
- Location
- Ten1/0/2
- Posts
- 2,529
is sshd running?
is sshd configured for password logins?
is sshd configured to allow root login?
is sshd running on port 22 or a custom port?
are you trying to connect on port 22?
Any number of trivial things could be preventing ssh access.CPanel Shared and Reseller Hosting, OpenVZ VPS Hosting. West Coast (LA) Servers and Nodes
Running Linux since 1.0.8 Kernel!
Providing Internet Services since 1995 and Hosting Since 2004
-
09-09-2013, 11:15 PM #11Junior Guru Wannabe
- Join Date
- Jul 2013
- Posts
- 61
yes its running
i think its configured for pw's how would i make sure of that?
port 22 - check
im connecting via putty via port 22
-
09-10-2013, 12:10 AM #12Web Hosting Master
- Join Date
- Sep 2008
- Location
- Seattle, WA
- Posts
- 1,323
Check http://www.yougetsignal.com/tools/open-ports/
then try
"service iptables stop"
Then check to see if port 22 is open again.
If it is your firewall is not configured correctly and you need to open the port on the firewall.█ Brian Kearney, Stealthy Hosting/Server Stadium Seattle, WA [AS23033] Skype: StealthyHosting
█ Custom Dedicated Servers
█ Low Cost Instant Dedicated Servers
█ Email: Sales@StealthyHosting.com
-
09-10-2013, 12:16 AM #13Disabled
- Join Date
- Mar 2007
- Posts
- 365
Check if you receive any traffic via tcpdump:
tcpdump -i your_primary_ethernet_dev -vvvvvvvvv
Also, check if: PermitRootLogin yes
and try to connect via ssh.
You can also try to change the default sshd port from 22 to for example 8022, restart sshd and try to connect on that port.
-
09-10-2013, 12:34 AM #14Disabled
- Join Date
- Aug 2010
- Location
- Canada
- Posts
- 36
Just try this,
Login to the server via KVM and then try to login using ssh at that time check the log file
tail -f /var/log/secure
-
09-10-2013, 02:12 AM #15Web Hosting Master
- Join Date
- Jan 2008
- Posts
- 1,204
Do you get the password prompt to enter your password? Can you provide the screen capture of the error which you are receiving in PuTTy.
-
09-16-2013, 05:57 AM #16Disabled
- Join Date
- Sep 2013
- Posts
- 40
check ip using ping if its reply than your ip working properlly.
-
09-16-2013, 06:25 PM #17Web Hosting Master
- Join Date
- Nov 2005
- Location
- /etc/fstab
- Posts
- 1,342
Your login is possibly restricted by sshd_config file. Try checking the /etc/ssh/sshd_config and check if there are any line with "AllowUsers". That might be restricting your access. I am not sure how GSS authentication is configured with OpenSSH, but if your hosts know it, you should allow them to configure it for you.
Mellowhost - Providing High Quality Web Hosting Services since 2007
SSD Cpanel Shared, SSD OpenVZ & KVM VPS Hosting
A Hosting Provider with Complete SSD VPS & Shared Hosting.
-
09-16-2013, 07:34 PM #18Disabled
- Join Date
- Apr 2007
- Location
- Everywhere
- Posts
- 273
It looks like you have modified your sshd_config file or the server was set to only accept public key authentications.
Try providing the output of this command and all relevant logs from /var/log/secure
$ cat /etc/ssh/sshd_config|grep GSSAPIAuthentication
$ cat /etc/ssh/sshd_config|grep PasswordAuthentication
$ cat /etc/ssh/sshd_config|grep Protocol
PS: GSSAPIauthentication will only work over protocol 2
Similar Threads
-
Putty SSH login denied
By smsmasters in forum Hosting Security and TechnologyReplies: 8Last Post: 10-08-2011, 07:36 AM -
can not login root from SSH, LT suggest me to do KVM over IP
By skyaus in forum Hosting Security and TechnologyReplies: 4Last Post: 12-12-2008, 12:26 PM -
cant login to my server using putty
By netpox in forum Dedicated ServerReplies: 4Last Post: 07-03-2008, 11:09 AM -
Urgent-fixing SSH login with KVM over IP
By cyberturk in forum Systems Management RequestsReplies: 3Last Post: 04-24-2007, 03:18 PM -
PuTTY - connection drops on login attempt
By antipomo in forum Hosting Security and TechnologyReplies: 2Last Post: 03-16-2006, 03:15 AM