New answers tagged

2

scp provides file copy over an ssh connection, so the ability of ssh to automatically execute a command upon connection is what scp uses to copy the file(s), so you can't tap on that. You have two options: 1) copy the file via ssh from a linux/cygwin host: cat local-file | ssh host 'cat > remote-file & your-command' 2) run a cron job to monitor a ...


0

Short: you don't (not a feature of PuTTY). Long: It depends. PuTTY on Linux is a port from Windows, and there are differences between Linux (Xorg) and Windows. Both have three modes of windows: normal maximized minimized (iconified) A full-screen application is no longer a window. PuTTY is running as an X window application. On Windows, it uses a ...


1

In most of these cases, the problem comes from the IP being blocked on the server for security reasons such as too many failed login attempts and the such. That kind of situation can only be resolved by the host's security team or waiting long enough for the automatic block to be removed, typically 24 hours.


0

Looking at the log /var/log/secure showed that it was just downright refused. I'm somewhat new to centos since I'm mainly a debian kind of guy, so I was unaware of /var/log/secure After checking this and doing a bit of searching, it turns out PermitRootLogin no needs to be PermitRootLogin without-password if you want to specifically use just keys for root ...


0

Set LogLevel to DEBUG in sshd_config, and I think you'll find (in auth.log of course) a reason why you publick key is refused.


0

Run: sudo `which sshd` -p 2020 -Dd as root in one session and in another session run: ssh -p 2020 -i /path/to/refusedkey refusedkeyusername@hostname Worked for me to get the reason. My userid permissions were not set to 700. I got the o/p as below debug1: trying public key file /home/userid/.ssh/authorized_keys debug1: fd 4 clearing O_NONBLOCK ...


0

In its default configuration, PuTTY sends cursor keys in normal mode, e.g., ^[OA while screen sets the cursor keys to application mode, e.g., ^[[A. That is done by screen's sending the escape sequence to turn on the keypad (in termcap ks, terminfo smkx). That happens to turn on the application mode for both the numeric keypad and the cursor keys, because ...


0

They should get closed as soon as the TCP timeout is reached or KeepAlive messages do not receive any answer from your old connection. There is nothing to worry about. If they don't, there is some bug in the openssh, which should get reported upstream.


4

Enable one of the SSH keepalive messages, for example by enabling TCPKeepAlive or ClientAliveInterval in the server's sshd config. Similarly, in the client config you can use TCPKeepAlive and ServerAliveInterval. TCPKeepAlive used to just be KeepAlive, if you have an old version of OpenSSH. TCP keepalives are a feature that is part of TCP, and operates ...


0

The link to script-declutter is not working, but it is shown on a webpage: #!/usr/bin/perl -wp # clean up control characters and other non-text detritus that shows up # when you run the "script" command. BEGIN { # xterm titlebar escape sequence $xtermesc = "\x1b\x5d\x30\x3b"; # the occurence of a backspace event (e.g. cntrl H, cntrol W, or cntrl U) ...



Top 50 recent answers are included