Ubuntu 8.04 server SSH Issues


Recommended Posts

Right wonder if someone can help me find out the issue here.

I've just set up a Ubuntu box. I can log in fine with the keyboard connected on the machine.

But if I try to SSH into the box. I can't login using the same crediantials.

The keyboards are the same. Thought it might have been a PS2 to USB thing. But I cant see how that would affect anything.

Have done some testing and so far the password will only work if I don't use any characters that involve using the SHIFT key.

Any takers?

Many thanks

Link to comment
https://www.neowin.net/forum/topic/638520-ubuntu-804-server-ssh-issues/
Share on other sites

Its a brand new install so how would that have happened? Even as ROOT I cant for the life of me SSH into the box.

Only thing I've done is just grabbed some updates & gave the box a static IP.

Unless APPMOR has decided to play with certain things. :cry:

Using a remote PC and trying to login via Putty I get Access denied and it goes back to asking for a password.

How does one check if I'm a member of the SSH group? Had a look at the sshd_config but no dice in there

Would this have anything to do with the fact that there's 2 packages that are being kept back:

openssh-client and openssh-server

  • 2 weeks later...
  FusionOpz said:
Make sure port 22 is allowed access. Make sure openssh-server is configured correctly.

Port 22 is open and opensshd is configured correctly otherwise I wouldn't even be able to connect to the server via Putty.

See this is the most f***ed situation I've come across though. In a windows machine, running Putty.

Can't login as I get ACCESS DENIED messages when I input the user's password. But now just tried accessing it from a Ubuntu 8.04 laptop setup I got and its connected with the same credentials. Whats that all about? :crazy:

Why don't you use public/private key authentication instead? Generate a private key with Putty-gen, paste it into ~/.ssh/authorized_keys, then save the public key in your Documents folder and load it up in PuTTY. There you go, passwordless login.

I disabled password logins on SSH, so the box can't be bruteforced. You need the public key and the passphrase :p

  wil said:
i had a similar issue with ubuntu 8.04 server

i just changed my password (in ubuntu) so that it doesn't have special characters

after that i was able to login through windows with putty and winscp

hope this works ...

- wil

Tried this before I created this topic and it did work if I took out any special character, so I guess this was more of a post to question wether this is a bug that I'm experiecing by myself or if it was probably some configuration tweak needed in my SSHD. What would be the point of setting up a password if I couldn't use my special characters that I may want?

  Jay R. said:
Why don't you use public/private key authentication instead? Generate a private key with Putty-gen, paste it into ~/.ssh/authorized_keys, then save the public key in your Documents folder and load it up in PuTTY. There you go, passwordless login.

I disabled password logins on SSH, so the box can't be bruteforced. You need the public key and the passphrase :p

Considered this as a security measuer. Just weary of what happens if I lose my authorized key. Lockout? :unsure:

If you lose your key then you'll just have to login with a password (opensshd automatically falls back to interactive mode if key entry fails).

Really, if this is such an issue, you can:

1. Try changing putty's encoding (maybe UTF-8?)

2. Use another SSH client (such as openssh in cygwin)

3. Create a backdoor account with a very secure password and sudo (a good idea anyways).

4. Just don't use special characters in your password.

Really, I know people love getting all into the security side of things, but an alphanumeric password with mixed caps of a reasonable length (6-12 characters) isn't any less encrypted than one with funky characters. People crack passwords with dictionary attacks and rainbow tables, so my advice to you is to not use dictionary words and not distribute your /etc/shadow file.

Almost all bots that scan ssh servers for access are going to do two things:

1. Try to login with common account names (root, bin, admin, administrator, etc)

2. Try to login with common passwords (no password, password, admin, etc)

So really, don't cripple yourself with crazy passwords (especially if your solution is to use passwordless key exchange instead...).

so you've tried putty and what else to ssh into the box?

have you tried this:

ssh root@localhost

then putting your password in like that? and see if you can connect as root or any other user your wanting to test.

if that works then either your ssh hosts file is screwed somehow (which would usually just say no you can't connect rather than password and username problems).

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Microsoft Edge is turning into AI browser with new Copilot Mode by Taras Buria Microsoft Edge is getting a new experimental Copilot Mode, a special mode that uses the power of AI to upgrade your browsing experience with advanced features, multi-tab context, and other features. Copilot Mode starts with a redesigned and simplified new tab page (users spotted the first version of Copilot as a new tab page a few months ago). It only has a Copilot composer, which combines the classic chat experience with web search and navigation. When browsing, Copilot is available in the address bar, and when clicked, it shows up as a dynamic pane without obstructing the original web page. Microsoft says that you can use it to declutter the web page, convert data, and cut right to the chase, say, when you read a recipe with a ten-page-long introduction. Copilot Mode also supports multi-tab context. With your permission, it can see all of your tabs and understand the context of your browsing. This eliminates the need for frequent tab switching, especially when you deal with dozens of tabs at once. Microsoft is also working on letting Copilot tap into your history and credentials so that it can better understand context and perform actions on your behalf, like booking reservations or performing other tasks. You can type your request into the composer or interact with the assistant using your voice. Finally, Copilot Mode will make it easier for you to jump back into the previous topics. Copilot Mode will offer you topic-based "journeys" with additional suggestions for what to do next. With tools like this, privacy could be a big concern for many users. As such, Microsoft assures that users will always be able to determine whether Copilot Mode is on or off with distinct visual cues. The feature is also optional, and you can toggle it on or off at any moment and continue using Edge in standard mode. Copilot Mode is now available on Windows and macOS as an experiment in all markets where Copilot is available. For now, this experience is free for all who want to opt in, which suggests that Copilot Mode could become a premium feature. You can try Copilot Mode by heading to this link.
    • Get Windows 11 Home or Pro now at 92% off by Steven Parker Today's highlighted deal comes via our Apps + Software section of the Neowin Deals store, where you can save up to 92% off on a Microsoft Windows 11 Home, or Pro license. Upgrade your computing experience with Windows 11 Pro. This cutting-edge operating system boasts a sleek new design and advanced tools to help you work faster and smarter. From creative projects to gaming and beyond, Windows 11 delivers the power and flexibility you need to achieve your goals. With a focus on productivity, the new features are easy to learn and use, enhancing your workflow and efficiency. Whether you're a student, professional, gamer, or creative, Windows 11 Home has everything you need to take your productivity to the next level. New interface. easier on the eyes & easier to use Biometrics login*.Encrypted authentication & advanced antivirus defenses DirectX 12 Ultimate. Play the latest games with graphics that rival reality. DirectX 12 Ultimate comes ready to maximize your hardware* Screen space. Snap layouts, desktops & seamless redocking Widgets. Stay up-to-date with the content you love & the new you care about Microsoft Teams. Stay in touch with friends and family with Microsoft Teams, which can be seamlessly integrated into your taskbar** Wake & lock. Automatically wake up when you approach and lock when you leave Smart App Control. Provides a layer of security by only permitting apps with good reputations to be installed Windows Studio Effects. Designed with Background Blur, Eye Contact, Voice Focus, & Automatic Framing Touchscreen. For a true mouse-less or keyboard-less experience TPM 2.0. Helps prevent unwanted tampering Windows 11 Pro also includes a number of productivity-focused features, such as the ability to snap multiple windows together and create custom layouts, improved voice typing, and a new, more powerful search experience. Personal and professional users will enjoy a modern and secure computing experience, with improved performance and productivity features to help users get more done. Only on Windows 11 Pro If you require enterprise-oriented features for your daily professional tasks, then Windows 11 Pro is a better option. Set up with a local account (only when set up for work or school) Join Active Directory/Azure AD Hyper-V Windows Sandbox Microsoft Remote Desktop BitLocker device encryption Windows Information Protection Mobile device management (MDM) Group Policy Enterprise State Roaming with Azure Assigned Access Dynamic Provisioning Windows Update for Business Kiosk mode Maximum RAM: 2TB Maximum no. of CPUs: 2 Maximum no. of CPU cores: 128 Good to know This license is for Windows 11 only. It is NOT intended to be used for upgrading Microsoft Office (MSO) included in Parallels Pro. However, it will still work with Parallels Pro and allow you to run Windows applications including MSO, but it DOES NOT include an upgrade MSO itself. It is still compatible with Microsoft Office ONLY if you have a separate license for it. Length of access: lifetime Redemption deadline: redeem your code within 30 days of purchase Access options: desktop Max number of device(s): 1 Version: Windows 11 Pro Updates included Click here to verify Microsoft partnership A Windows 11 Pro retail license normally costs $199, with Windows 11 Home usually costing $139 but you can pick either one up for just $14.97 for a limited time. For a full description, specs, and license info, click the link below. Get Windows 11 Home or Pro for just $14.97, or learn more Although priced in U.S. dollars, this deal is available for digital purchase worldwide. We post these because we earn commission on each sale so as not to rely solely on advertising, which many of our readers block. It all helps toward paying staff reporters, servers and hosting costs. Other ways to support Neowin Whitelist Neowin by not blocking our ads Create a free member account to see fewer ads Make a donation to support our day to day running costs Subscribe to Neowin - for $14 a year, or $28 a year for an ad-free experience Disclosure: Neowin benefits from revenue of each sale made through our branded deals site powered by StackCommerce.
    • PlayStation's first wireless fight stick faces long wait, launching in 2026 by Paul Hill Sony has unveiled the FlexStrike wireless fight stick previously known as Project Defiant. Its unveiling marks the PlayStation’s first-ever proprietary fight stick controller. Unfortunately for anyone hoping to get their hands on it soon, Sony won’t be releasing it until 2026, creating a significant wait for eager fighting game fans. Though its release is still some time away, a display unit will be shown off at Evo 2025 (August 1-3). Sony notes that this displayed version of the FlexStrike may not represent the final product. As a bit of background, PlayStation gamers can already get third-party fight sticks, this marks Sony's first official entry into the market. The FlexStrike will be compatible with PS5 and PC via wired connection or wirelessly with PlayStation Link. It features mechanical switch buttons and toolless swappable restrictor gates (square, circle, octagon) with built-in storage. You can also use simultaneous PlayStation Link audio for connecting FlexStrike and a Pulse headset/earbuds on PS5 with a single USB adapter. Sony also mentions that there will be support for two FlexStrike sticks via a single PS Link USB adapter for local multiplayer and includes all DualSense Controller inputs (except directional pad via lever and mute button), plus a touchpad. The controls are adjustable with a built-in level mode switch and a lock button to prevent accidental inputs. So that it’s comfortable to use, Sony has opted for an ergonomic design with angled surfaces and a non-slip base. While we know from Sony that the FlexStrike wireless fight stick is confirmed for a 2026 release, we do not know which day or month to expect it on. Such a late entry into this market means that Sony will have already lost customers who have already invested in fight sticks from other manufacturers. For more information, keep your eyes peeled to Evo 2025 to see what Sony reveals. The company also recommends signing up for news updates on its official FlexStrike website.
  • Recent Achievements

    • Week One Done
      NeoWeen earned a badge
      Week One Done
    • One Month Later
      BA the Curmudgeon earned a badge
      One Month Later
    • First Post
      Doreen768 earned a badge
      First Post
    • One Month Later
      James_kobe earned a badge
      One Month Later
    • Week One Done
      James_kobe earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      654
    2. 2
      ATLien_0
      253
    3. 3
      Xenon
      168
    4. 4
      neufuse
      147
    5. 5
      +FloatingFatMan
      122
  • Tell a friend

    Love Neowin? Tell a friend!