All Questions
36
questions
1
vote
0
answers
260
views
ssh does not use ssh-agent on FreeBSD
I recently set up a new FreeBSD system and am having a lot of trouble getting ssh to use ssh-agent. I have verified with ssh-add -l that my key is added, and the SSH_AGENT_PID and SSH_AUTH_SOCK env ...
0
votes
0
answers
2k
views
Unable to push to SSH Git remote: remote unpack failed
I'm working on setting up a Git repo on my homelab network. I have ssh: working for clone, but I can't push - when I git push --set-upstream origin master I get the message
Enumerating objects: 7, ...
1
vote
2
answers
834
views
How to fix "unzip: Unrecognized archive format" in FreeBSD? [closed]
I try to unzip a folder that I copied to FreeBSD from another machine through SSH/SCP.
However, I keep getting the error unzip: Unrecognized archive format which to me does not make sense in this case....
4
votes
1
answer
530
views
Should changing firewall settings to block all interrupt ongoing ssh session
Suppose I am logged into a server via ssh. While in the session, I change the firewall config to block all traffic.
When I tried this previously with FreeBSD and pf, the current connection was broken. ...
0
votes
0
answers
171
views
Way to limit ssh-key to multiple commands?
Is it possible to limit particular ssh-key to multiple commands?
Example:
command="ls some/folder","scp some/folder other/folder" ssh-rsa ABCD...
3
votes
1
answer
7k
views
Disabling Keyboard-interactive SSH login
I am trying to disable Keyboard-Interactive login, as I only want key login, but it won't disable with the below sshd_config. I also have attached an edited ssh -v login to the server.
I have been ...
0
votes
1
answer
213
views
How to install a torrent client on a NetBSD server with only SSH access [closed]
I have a remote server running NetBSD 6, to which I have access only via SSH. I have very limited Unix/Linux experience but I guess there are some command line torrent cliens available for Unixes like ...
0
votes
0
answers
179
views
FreeBSD - Change user password after SSHing into a Server
I would like to change the user password after having SSHed into a server, but get the following error:
passwd
Changing local password for
passwd: pam_start(): System error
What is the ...
1
vote
0
answers
187
views
Issue with editing the current command in FreeBSD
I have a server running FreeBSD which I ssh to using WSL, if that helps.
On the remote server I have a weird issue that I don't know how to describe, i'll give an example scenario:
Say for example I ...
-1
votes
2
answers
157
views
Command not running from inside shell script [closed]
The script:
#!/bin/sh
scp /conf/acme/* gentooserver:/etc/ssl/apache2/
scp /conf/acme/* octopi:/etc/ssl/
When I execute it, I get output indicating at least the first command executes. (Plus the ...
1
vote
0
answers
587
views
Why aren't my ~/.login_conf settings respected when ssh into FreeBSD?
I connect to a local FreeBSD server (which I administer) via ssh from my laptop. I have a stock FreeBSD 11.2 /etc/login.conf file. I have appended the following to my ~/.login_conf file:
:me \
:...
2
votes
2
answers
598
views
FreeBSD sudo root and ssh-agent
I'm trying to access a git server from my FreeBSD 11.3 box via root account. git server is secured to only allow access via SSH public key authentication.
When I log into my FreeBSD box, I do that as ...
0
votes
1
answer
464
views
how to execute a bash script when someone connects to the ssh server (freebsd)
There is a freeBSD server that has a script on bash. The script analyzes the log file of ipfw (for unauthorized access to ssh) and in case of damage sends the message to the mail. Everything works if ...
0
votes
2
answers
708
views
Emacs with 24bit terminal support on FreeBSD
I'm trying to enable 24bit support on the terminal (via SSH) on my FreeBSD 12 installation without success.
I tried to create a terminfo file with the contents:
xterm-24bit|xterm with 24-bit direct ...
0
votes
0
answers
868
views
No supported authentication methods available - connecting to FreeBSD using PuTTY
I have created an EC2 instance that runs FreeBSD, and I can log into it using my SSH key and the default user ec2-user. I logged into it, and switched to root using su. I then created a personal ...