Disabling CBC Cipher mode causes login problems


Login or Register to Reply

 
Thread Tools Search this Thread
# 8  
I tried the last suggestion, and the server fails to come up (Network Connection time out error) when I try to login via the putty (ssh).

--- Post updated at 05:15 PM ---

I tried this solution, however after I make the changes and restart ssh, I am unable to login to the server (Network Connection time out error).
# 9  
When system admins make sshd config changes to a remote server they do not logout of their working session before they confirm the changes work..

For example, if you are logged into a server and make changes to sshd, you do not log out of that session.

Code:
server:/var/www/ads# ssh me@remote.example.com
me@remove.example.com's password: 
Last login: Thu May  9 08:14:30 2019 from 139.112.217.44
me@remote:~$ sudo -i
[sudo] password for me: 
// make changes to ssh configation
remote:~# service sshd restart

You are still logged to the remote server.

Now try to ssh again from another terminal.

Or alternatively, you can run sshd on another port with another configuration file, for example on some (linux) systems;

Code:
sshd [-46DdeiqTt] [-b bits] [-C connection_spec] [-f config_file] [-g login_grace_time] [-h host_key_file] [-k key_gen_time] [-o option] [-p port] [-u len]

So, it is not really wise, or at least it is not how I would make sshd changes, to make changes in your config without testing them first.

Code:
sshd  [-f config_file]  [-p port]

You can run and test sshd on any open port you like.
# 10  
Hi,

I tried this solution, and I did not log out from session where I made the changes before opening a new session.
But it still does not work. I cannot ssh into the server anymore. "Network Error: Connection Refused" error.

Regards,
Aigini
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
Need to disable CBC mode cipher encryption along with MD5 & 96 bit MAC algorithm
amity
Hi All Is any one know how to diable CBC mode cipher encryption along with MD5 & 96 bit MAC algorithm in solaris 10. Regards... Solaris
4
Solaris
Disabling emergency and init mode
rink
Hello all friends I recently disable runlevel 1 i want to know , is there any way to disable emergency mode and init mode init mode means if any user pass kernel parameter at grub i.e init=/bin/bash then bash shell appears I want to disable it for security purpose System = Debian 6...... Debian
4
Debian
Login Problems when the system is grub mode
sree vasu
Hi Experts, I am using ubuntu.When i am trying to login it is showing grub ..How i can overcome to this problem..Pls reply me ASAP.. Thanks, Sree... Ubuntu
1
Ubuntu
Problems with disabling remote root login
veccinho
Hello! I'm going through security checklist for AIX 5.3 and i just can't disable remote login for root through ssh. What i did: - in /etc/security/user i added a line: rlogin = false which works fine when i try to login through telnet - after installation of openSSH i edited...... AIX
3
AIX