148
votes
Accepted
ssh-keygen does not create RSA private key
I faced the same problem recently (after upgrade to mojave 10.14.1), here are 2 possible solutions for this issue.
Downgrade your ssh-keygen binary (you can easily get old version from any linux/...
132
votes
ssh-keygen does not create RSA private key
New keys with OpenSSH private key format can be converted using ssh-keygen utility to the old PEM format.
ssh-keygen -p -m PEM -f ~/.ssh/id_rsa
There is no need to downgrade to older OpenSSH just to ...
30
votes
11
votes
how can i modify max memory-limit in php.ini in docker container
Adding the following line inside your Dockerfile do the job for me
RUN echo 'memory_limit = 2048M' >> /usr/local/etc/php/conf.d/docker-php-memlimit.ini;
9
votes
How to restart Nginx on Mac OS X?
If you are using brew:
To see all services:
brew services list
Start nginx service:
brew services start nginx
Stop nginx Service:
brew services stop nginx
9
votes
how can i modify max memory-limit in php.ini in docker container
Depends on the image, but usually it's enough to do
ENV PHP_MEMORY_LIMIT=128M
inside the Dockerfile.
Beware: the unit is a single letter, M for MB (or G for GB).
Otherwise it will silently ignore the ...
8
votes
VNC viewer not connecting to Mac from Windows
A few years later, the "world has changed", so
The free version of RealVNC (v. 6.17.1113, Nov 2017, x64) works smoothly for me. In particular from Windows 7 Professional to OS X Yosemite (10.11) and ...
8
votes
Accessing Ubuntu 20.04 from Mac OS Catalina: which client to use?
I also had this problem earlier. [My original comment was just a "I have this too" post and was deleted. This comment does have a solution:]
It looks like the two systems cannot negotiate an ...
7
votes
Accepted
Use telnet to check that VNC port is open
Yes it is correct...
If it were open you would get a blank screen, and if it were closed, it would say connection refused. Timing out is the same as closed in most cases.
6
votes
Log out graphical user from command line
Any user with admin privileges can log them out using launchctl if it is a post 10.9 system.
sudo launchctl bootout gui/$(id -u <username>) will teardown the user's temporary session and return ...
5
votes
ssh-keygen does not create RSA private key
Some elaboration on the above answers to provide a clear path for both the public and private key.
You can directly export (-e) your ssh keys to a pem format:
For your public key:
cd ~/.ssh
ssh-keygen ...
4
votes
ERROR 2002 MYSQL socket /tmp/mysql.sock
I know this is an older post, but I spent the last hour or so bouncing back and forth between serverfault, StackOverflow, and DataBase administrators trying to figure out how to solve this issue after ...
4
votes
Is it possibble to reboot a remote MySQL server on Ubuntu from a program or script on a Mac?
You ever thought about monitoring the MYSQL Server?
Maybe Nagios is too big but whats with a script and a cron or monit is also very lightweight.
Monit provides a very easy basic webfrontend where ...
4
votes
Is the MAC adress visible for non-internal network users like a websites?
Not in IPv4, as the MAC is only contained in the headers of the ethernet frame that gets discarded when the router forwards it elsewhere.
For IPv6, the MAC address can be part of the IPv6 address (...
4
votes
smb with dfs on mac
As a possible alternative you can create a stretched cluster with FileServer role between two locations using StarWind VSAN. Then you can share the data using NFS protocol instead of SMB.
Here is ...
3
votes
Accepted
Puppet Duplicate declaration: Class
You are declaring it twice. Once with the parameter values '/var/root', 'root', the other with the parameters $home and $user. You probably should be making jenkins_dotfiles a defined type, not a ...
3
votes
Why does local host say "It Works"?
Use apachectl -S (mac) to list the loaded configuration and to see all your loaded virtual hosts. Probably your project's .conf file is not in that list.
3
votes
Citrix Receiver for Mac: "You have not chosen to trust"
You know the storefront url ? go in it with safari and check with safari how the certificate react.
I suspect SHA-1 use in the certificate, if so you might have to redo the certificate
3
votes
SSH does not take server specific port config on Mac
You didn't specify the port number in your command.
You didn't specify the alternate hostname you configured in your .ssh/config file in your command.
You must do at least one of these.
You'll also ...
3
votes
Accepted
SSH does not take server specific port config on Mac
In addition to the problems Michael Hampton pointed out, when the config file has multiple
applicable declarations for the same parameter, the first one is used. Since the Port 22 declaration in the ...
3
votes
How does the A record change over time by running a DNS query?
Since you didn't post any output to your command I'll show the answer section of two subsequent queries:
www.wikipedia.org. 21297 IN CNAME dyna.wikimedia.org.
dyna.wikimedia.org. 57 IN A ...
2
votes
Log out graphical user from command line
A nice utility to add to your Terminal is the "logout" command, to be used like:
logout UserName
Here the how to:
Edit your .bash_profile
nano ~/.bash_profile
Add this line:
logout() {sudo ...
2
votes
openVPN Mac(Tunnelblick) all traffic over VPN
I was in the same situation and researched it a bit. I've registered an issue on TunnelBlick.
The immediate workarounds are described in OpenVPN wiki. The method 2, override, looks the most simple.
...
2
votes
Accepted
HP ProCurve 2920, MAC filter
Port-security settings will accomplish this for you. I'd set it up to learn the MACs of your authorized devices and proceed from there.
Instructions:
http://whp-aus1.cold.extweb.hp.com/pub/...
2
votes
Is it possibble to reboot a remote MySQL server on Ubuntu from a program or script on a Mac?
I think the easiest way would be using monit. It's a lightweight utility for monitoring and managing daemons or similar programs.
Install monit
# aptitude install monit
Create conf file for mysql
#...
2
votes
Finding ip address from mac addess
Install nmap to your OpenWRT router:
opkg update;opkg install nmap
Scan all network.For example,the network is: 203.120.12.0/24
nmap -v -sn 203.120.12.0/24 --open
It should show something like ...
2
votes
How to switch user in a shell command
su -c "your command" username
As in the help:
$ su --help
Usage: su [options] [LOGIN]
Options:
-c, --command COMMAND pass COMMAND to the invoked shell
-h, --help ...
2
votes
Accepted
What is kctl running on port 22 on a mac?
"kctl" means that is a kernel control socket, not a network socket. This is a separate socket domain for local communication with kernel extensions (see Apple's developer documentation). Here's a ...
2
votes
Accepted
ssh error: Permission denied (keyboard-interactive)
SSH generally prefers two kinds of authentication which are username-password combination and username-public key combination.
It seems that your server supports only username-public key ...
2
votes
ssh error: Permission denied (keyboard-interactive)
If you have configured the server for key and 2FA (with google auth) you need to enable 2FA for each user.
Login to the server with a working user
su user
google-authenticator
follow all the ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
mac × 722mac-osx × 202
linux × 61
windows × 50
ssh × 49
networking × 44
mac-osx-server × 42
apache-2.2 × 36
vpn × 30
mysql × 28
ubuntu × 23
active-directory × 23
php × 21
ip × 19
apple × 19
domain-name-system × 18
osx-snow-leopard × 17
cisco × 13
vnc × 13
windows-server-2008 × 12
backup × 12
dhcp × 12
server-message-block × 12
osx-leopard × 12
virtualization × 11