• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Access to linux box Through Putty

 
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I am trying to access Linux box from my windowNT machine using Putty. I do have Root username and password. But follwing process happen and then I cannt go anywhere.
1) open Putty
2) typed IP, port and click on SSH and press Login
3) It open new Linux window where it prompted me to Login
4) type userName (Enter)
5) Prompt for Password
6) type Password (Enter)
7) gives me message Access Denied and go again for Password and this will be in loop
I can positively say I am typing password is correct because I did may hundred times.

Now If I do the same thing from another floor (they have different subnet too), then I can access through.

Want to know do we have anything on linux that from some certain places you can access.
or Any idea will be appreciatable.

Thanks in advance,
Sajan Patel
 
Ranch Hand
Posts: 1071
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
wild guess:

If you're on a different subnet, you might be using the wrong IP and hitting a different server. You could be using an internal IP to that subnet.
 
Sajan Patel
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Steve,

I am really sorry I am not a network guy at all so if i missunderstood you let me know.
but what I mean to say is
My IP is 12.12.33.44
and Where I want to go is
IP 12.12.66.77
So here we have two different third digit 33 and 66

Thanks,
Sajan Patel
 
Steven Bell
Ranch Hand
Posts: 1071
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Saying different subnet usually means that they are behind one router and you are behind another.

If you are both under the same router then I don't know what the problem would be.
 
Ranch Hand
Posts: 139
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sajan,
Try telnet/ssh with non root user and then do su -
 
Ranch Hand
Posts: 3061
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Most Linux systems won't allow you to log in as root via telnet or ssh. In fact, many Linux and Unix gurus suggest that you avoid logging in as root as much as possible. Instead, you should create a user account and add that account to /etc/sudoers. This will allow you to run commands using the sudo utility. For more information, you should run "man sudo" and "man sudoers" for more information. If you still need help after that, let us know.

Layne
 
Ranch Hand
Posts: 1923
Scala Postgres Database Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
sshd might be configured to allow access only from some adresses.
The manpage for ssh contains more information, than I am willing now to read...

Login as root is discouraged, because afaik the connection is crypted AFTER you login, which means, the root password is transmitted in cleartext, readable from every netdevice in promiscue mode.

If you have an sshd running on the other floor, you might login there, and ssh from there to the target.
 
I would challenge you to a battle of wits, but I see you are unarmed - shakespear. Unarmed tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic