Tag Info

Hot answers tagged

2

in some case after change, PermitRootLogin yes must check this config : DenyUsers root AllowUsers saeid and to enable login must change to : #DenyUsers root AllowUsers root OtherUser


2

Those two are not same. exec is a shell builtin which will execute the given command ssh localhost in this case with replacing the current shell with the command. While doing simple ssh localhost you are executing general ssh command, there are no bells and whistles associated. The effect will be apparent when you will logout of the ssh session : In ...


2

Screen is a terminal multiplexer, which allows a user to access multiple separate terminal sessions inside a single terminal window or remote terminal session (such as when using SSH). Screen is very useful if you're connection is not stable. For example if you want to download a file with wget and exit from ssh, then come back to it in an hour or so. you ...


1

For windows I can propose freesshd. After installing you can transfer file using command scp root@ip_address_of_server:/path/to/file.txt localfile.txt


1

Try the pre installed empathy messaging cliant, it can do video calls based on, Google Talk, Jabber and sip. Noticed you have Kubuntu so sudo apt-get install empathy There is also,ekiga,it has a good review in software center, here is its description H.323 and SIP compatible videoconferencing and VoIP/IP-Telephony application that allows you to ...


1

There is no fallback. If you screw up sshd settings and close your only connection that did this change after sshd restart (basically turning off the old config and letting the new fail), there is no way to connect again using ssh since it is in failed state. The only way is to use local access or console (some VPS provide remote console).


1

In order to change where zsh looks for its user configuratation files (.zshenv, .zprofile, .zshrc, .zlogin), you have to set the ZDOTDIR environment variable to the path where they reside. ZDOTDIR may contain an absolute or relative path, where relative paths are relative to the current working directory when starting zsh. If ZDOTDIR is not set, zsh looks in ...


1

Solved. The thing I didn't take into account is that the script is exectuted as root and not with my user. So when running ssh, password is required as I only set up the keys for my user. The workaround I used is forcing ssh to use my user keys: ssh -i /home/user/.ssh/id_rsa user@remote sudo halt


1

Check .ssh folder permission (run ls -laR ~/.ssh): .ssh folder should have 700, while private key 600 and the public one can have 644. Moreover, you can have more information about the problem running ssh with full debug logs ssh -vvv ...



Only top voted, non community-wiki answers of a minimum length are eligible