How can I ssh to a remote server with an automated password and no key?
I have a remote server. I planned to use public keys to connect over ssh without typing the password but the remote system rejects public key authentication.
I have a remote server. I planned to use public keys to connect over ssh without typing the password but the remote system rejects public key authentication.
I have a sparse file, in which only some blocks are allocated:
I’m trying to set an RSA key as an environment variable which, as a text file, contains newline characters.
How would you go about finding the DNS servers used by systemd-resolved, for troubleshooting purposes?
I have fbterm installed and I’m attempting to use it with the solarized color scheme. I have not been able to find any information about this. The colors are already added to my .Xresources and working with xterm. Is there any way to use this colorscheme in the framebuffer?
I have an Epson multifunction device connected to a Raspberry Pi running the latest Raspbian. As you can see in the output below, scanimage will only find my scanner if I sudo it, but sane-find scanner finds it just fine without sudo. I’ve checked that the device permissions are properly set… saned is a memeber of the lp group, which is the group of the USB device. What gives?
I alias rm to rm -i so that when I mistype file* as file * I get prompted before accidentally deleting files I didn’t intend to delete. Is there an equivalent idiom for directories?
How does one get ~/.bashrc aliases to evaluate $() substitutions at run time, instead of at the time that ~/.bashrc is executed (when opening a terminal)?
While appending some text after a matched pattern, I wanted to add an empty line with a comment to isolate my additions from the rest. However, I have noticed that for the very first n, I need to escape the with an additional (makes it \n) but this is apparently not required for rest of the appended text. Why is this so?
We have a directory and want to protect that from remove and rename, but we need to be able to rename, remove and create contents. What we can do?