2004-11-08
I've done a presentation on SSH for a group of Unix beginners. I've put it on-line since it might be . . . customer. http://www.vankuik.nl/bart/docs/ssh_intro.ppt . . .
1K - last updated 2005-03-19 10:50 UTC by 1443
2005-10-26
More Maven findings. I've said before that in my humble opinion, Maven is too much in a state of flux . . . maven.repo.myrepo.privatekey=${user.home}/.ssh/id_dsa This way, everyone can deploy using his . . . can't figure this out itself, just like standard ssh does. We're helping it: create a file in your home . . . line to it: maven.privatekey=/home/user/.ssh/myprivatekey And edit the line in your project.properties . . .
4K - last updated 2005-11-04 11:47 UTC by 1443
2005-11-04
Maven, oh, Maven. Funny how much bugs this package brings up. And I don't mean its own bugs! In the previous . . . R1 Using private key: /home/the_user/.ssh/id_rsa Deploying: /home/the_user/tmp/OUR_PROJECT/OUR_SUBPROJECT/project.xml-->OUR_PROJECT/poms/OUR_SUBPROJECT-0.2.0-build4-SNAPSHOT.pom . . . whether it's important, but this is with OpenSSH_3.8.1p1. . . .
3K - last updated 2005-11-04 13:29 UTC by 1443
2005-11-23
Today, I'd like to talk to you about Maven and rights. Maven must be able to deploy to a central place, . . . repository: R1 Using private key: /home/user1/.ssh/keytest Deploying: /home/user1/blah/myproject/project.xml-->myproject/poms/myproject-3.6.1-build01.pom . . .
1K - last updated 2005-11-23 15:59 UTC by 1443
2005-12-08
After firewalls are in place, you're not done securing JBoss 3.2.6. At the least, passwords should be . . . and web-console applications. Go to $JBOSSHOME/server/yourconfig/deploy and take the following . . .
2K - last updated 2005-12-08 12:55 UTC by 1443
2006-10-23 Keeping an eye on logs
When developing, you often want to keep an eye on several logs at a time. ''gnome-terminal'' is ideal . . . \ --window --title "Apache log" \ -e "ssh sron0311 tail -f /var/log/apache/error_log" \ --tab . . . -title="messages" \ -e "ssh sron0311 tail -f /var/log/messages" \ --tab -title="Apache . . . mod_perl log" \ -e "ssh sron0311 tail -f /home/apache_mod_perl/apache/logs/error_log" . . .
2K - last updated 2006-10-23 07:49 UTC by bvankuik
2007-08-20 Configuring SSH daemon
If you want to configure the SSH daemon on a remote machine, you probably don't want to risk the chance . . . properly configured machines can restart the SSH daemon while retaining the running connections. . . . read on. We want start a separate, temporary SSH daemon. [http://matt.ucc.asn.au/dropbear/dropbear.html . . . copy for the duration of configuring the regular SSH daemon installation. We won't install Dropbear . . . now be able to reach the server: localmachine$ ssh -p 31337 remoteserver Log in and configure the . . .
2K - last updated 2007-08-20 20:06 UTC by 1443
2008-05-06 Recovering from a hacked server
A friend of mine had a problem with a server in which a particular PHP script kept changing, including . . . /var/log/secure for strange logins through SSH * Checked for other services running, for example . . .
2K - last updated 2008-05-08 06:28 UTC by 1443
2008-05-25 Finding open ports
When tightening up security on a Linux server, one of the first things the system administrator does, . . . tcp 0 0 telislt.sron.:commplex-main 6573/ssh tcp 0 0 *:mysql 2307/mysqld tcp 0 0 *:sunrpc 1945/rpcbind . . . tcp 0 0 telislt.sron.nl:privoxy 3581/ssh tcp 0 0 telislt.sron.nl:ipp 2553/cupsd tcp 0 0 . . . tcp 0 0 localhost6.localdom:privoxy 3581/ssh tcp 0 0 *:ssh 2205/sshd Whenever there is an asterisk . . .
3K - last updated 2008-05-25 20:25 UTC by 1443
2011-03-03 From which host am I logged in
A previous entry documented on how to change your settings in bashrc, according to from which host you . . . logged in over SSH. The solution used the hostname entry from the . . . with package dns-utils). FROM_IP=$(echo $SSH_CLIENT | cut -f1 -d" " | grep -v ":0") FROM=$(host . . .
2K - last updated 2011-03-03 17:31 UTC by 1443
2011-09-08 From iPhone to Android
''This is part 3 of my series where I document going from an iPhone to Android 2.3, running on the Samsung . . . who aren't in it for the money. A decent SSH client (tool for IT system administrators) for . . . is [http://itunes.apple.com/app/touchterm-ssh/id286623227?mt=8 TouchTerm], which costs $4. Other . . .
3K - last updated 2011-09-13 06:53 UTC by 1443
2012-03-20 graphics glitches on OS X Lion
= Graphics glitches = For the past days, I've seen a number of glitches on OS X Lion (update 10.7.3) . . . cannot be woken up, but is still accessible via SSH The following lines are then visible in the kernel.log: . . .
3K - last updated 2012-06-14 11:44 UTC by 1443
2012-07-15 strace on Mac OS X
If you're looking for the Linux ''strace'' command on OS X, stop looking. OS X doesn't have this command, . . . which was failing to connect over an SSH tunnel without telling me the error. I found out . . . 0 That gave me a clue that I made a typo in the SSH Options field in JollysFastVNC. See also [http://dtrace.org/blogs/brendan/2011/10/10/top-10-dtrace-scripts-for-mac-os-x/ . . .
2K - last updated 2012-07-17 08:33 UTC by 1443
2013-03-27 warning Setting locale failed
I was getting the error from all kinds of Linux programs about "setting locale failed". For example, . . . What it comes down to, is that I was using SSH from my MacBook (running OS X Mountain Lion 10.8.3) . . . after logging remotely into Linux, the SSH client sets the LC_CTYPE environment variable to . . .
3K - last updated 2014-03-28 13:06 UTC by 1443
2013-09-26 Speed comparison of different ciphers on an SSH tunnel
Today I got curious what the speed differences are when you use a different cipher for an SSH tunnel. . . . (using the default cipher here): you@local $ ssh -L8080:localhost:80 remote In the other: you@local . . . and retry with another cipher: you@local $ ssh -c arcfour256 -L8080:localhost:80 remote you@local . . . encrypting anything doesn't work: you@local $ ssh -c none -L8080:localhost:80 remote No valid ciphers . . . http://blog.famzah.net/2010/06/11/openssh-ciphers-performance-benchmark/ . . .
2K - last updated 2013-09-26 11:18 UTC by 1443
2014-01-29 tmux and X11
Recently I've been playing around with [http://tmux.sourceforge.net tmux] . For all you neckbeards, that's . . . The difference is that when iTerm2 quits or the ssh session is lost, tmux keeps running. You can return . . . to the host you were ssh'ed into and run "tmux -CC attach" and the iTerm2 . . . that I'm now bumping into, is that when I'm SSH'ing into the remote machine where tmux runs, I'm . . . one screen. In order to make this work, when ssh opens a session and starts the shell, it sets the . . .
2K - last updated 2014-06-11 11:09 UTC by 1443
2014-07-11 Xauthority doesn't exist
If you're connecting via SSH from OS X to Linux, you might get the following error: /opt/X11/bin/xauth: . . .
1K - last updated 2014-07-11 11:48 UTC by 1443
2015-05-09 DenyHosts no longer available on Debian 8.0 Jessie
When I was configuring a new Debian 8.0 ("Jessie") server, I noticed the very useful DenyHosts package . . . in the package repository. The package "sshguard" however, is available and according to my . . . useful to counter brute-force attacks on your SSH server. . . .
1K - last updated 2015-05-09 19:10 UTC by 1443
2015-11-06 Creating an OS X virtual machine
Automatically creating an OS X virtual machine is getting quite easy and automated nowadays. If you haven't . . . See if it's really running: $ vagrant ssh Last login: Fri Nov 6 04:17:05 2015 osx-10_11:~ . . .
2K - last updated 2015-12-08 11:54 UTC by 1443
2016-03-15
Just a tip for all you Linux-loving fiends out there: after installing a server, no matter how small, . . . you'd be wise to install [http://www.sshguard.net sshguard]. It's available on Debian, Ubuntu . . . simply type: $ sudo apt-get install sshguard This package will block bruteforce attacks . . .
1K - last updated 2016-03-15 10:22 UTC by 1443
2017-02-21 Linux VPS with TeamViewer
Here are my short notes on creating a Linux VPS (virtual private service) which can be remotely accessed . . . 1 GB of memory. After it's started, log in via SSH as root and do the following: # yum -y groupinstall . . .
3K - last updated 2019-12-08 07:25 UTC by 1443
2017-06-06 Always leave a view in a stackview
When you hide/unhide an element in a UIStackView, it will nicely animate. However when you hide the only . . . https://github.com/bvankuik/NestedStackViewsShowAndHide Click the "Toggle Visibility" button. . . .
1K - last updated 2017-06-06 09:34 UTC by 1443
2019-12-08 Linux VPS with TeamViewer
In 2017, I blogged about [https://www.vankuik.nl/2017-02-21_Linux_VPS_with_TeamViewer setting up a Linux . . . to do; most Linux servers are administrated over SSH. However for remoting into a desktop usage, I find . . .
3K - last updated 2020-02-07 07:57 UTC by 1443
2023-12-01 Unable to use public key authentication for ssh login on Raspberry Pi
TL;DR: Raspberry Pi OS will reject rsa keys, use another type of key, and copy it to the Pi: % ssh-keygen . . . -t ecdsa % ssh-copy-id .ssh/id_ecdsa.pub <pi-hostname> Explanation . . . I wanted to use passwordless login to ssh, i.e. public key authentication. So I copied my . . . existing public key to the Raspberry Pi with ssh-copy-id. However when accessing the Pi over ssh, . . . end, I turned on debug logging: % sudo vim /etc/ssh/sshd_config Then add the following line: LogLevel . . .
2K - last updated 2023-12-01 08:55 UTC by bartvk
Bash
= Online resources = [http://ldp.nl.uu.net/LDP/abs/html/ Advanced Bash-Scripting Guide] = Changing numbering . . . = Logging logins = # If we're logging in through SSH, write this down if [ -n "$SSH_CLIENT" ]; then . . . LOGFILE=".ssh/.mylog" # The variable SSH_CONNECTION has the form . . . TO_PORT if [ -e $LOGFILE ]; then echo "`date`: SSH_CONNECTION $SSH_CONNECTION" >> $LOGFILE else echo . . . "`date`: SSH_CONNECTION $SSH_CONNECTION" > $LOGFILE fi # Alternative . . .
10K - last updated 2012-09-14 07:29 UTC by 1443
Debian guest on CentOS host
The explanation below details the installation of a Debian guest on a Xen host running the CentOS/Red . . . # ifup eth0 # ifup lo See if you can install the sshd daemon: # apt-get install ssh If this works, you've . . . got networking. You should also be able to ssh into the Debian host from the outside. . . .
4K - last updated 2007-09-21 07:29 UTC by 1443
DutchVirtual
= dv1 configuration notes = * eth1 has IP address 192.168.0.253 * Disks are in s/w raid, partition 1 . . . come up * Check if swapspace comes up * ssh to domU * check hostname and interfaces * Test . . . networking; do a wget * Generate SSH server keys: ssh-keygen -f /etc/ssh/ssh_host_rsa_key . . . -N '' -t rsa ssh-keygen -f /etc/ssh/ssh_host_dsa_key -N '' -t dsa . . .
5K - last updated 2008-08-15 10:01 UTC by Bart
dv1 installation
* Installation, see [[Booting_over_the_network]]. Customized package selection, everything deselected . . . with the virt-manager utility? * Lock down sshd * Remove server keys from image, set IP address, . . .
3K - last updated 2007-06-24 09:37 UTC by 1443
dv2 installation
* Installation using CD. Customized package selection, everything deselected except base utilities. * . . . with the virt-manager utility? * Lock down sshd * Remove server keys from image, set IP address, . . .
2K - last updated 2007-06-24 09:35 UTC by 1443
Encrypting and decrypting files
Create a shellscript called ''enc'' with the following line: #!/bin/sh openssl enc -aes-256-cbc -salt . . . all Linux distributions use the [http://www.openssh.org/ OpenSSH/OpenSSL] libraries, so these shellscripts . . .
1K - last updated 2012-07-09 06:09 UTC by 1443
Gnuplot
[http://www.gnuplot.info/ Gnuplot] is present on almost every Unix or Linux system and is thus the choice . . . columns * You're logged in over the console (SSH or what have you) * You can display graphical output . . . (because for instance you used the -X option for SSH) Start gnuplot and plot your file: $ gnuplot gnuplot> . . .
1K - last updated 2008-11-14 10:31 UTC by 1443
Linux
= System Administration = [[Remote_dump]] [[MD5sum]] [[Debian]] -- About apt-get, dpkg and other stuff . . . [[RPM]] [[Easy_logging_in]] [[X11]] [[SSH]] [[Cron_tips]] [[Console_fonts]] [[Watchdog_script]] . . .
2K - last updated 2012-09-14 07:24 UTC by 1443
macOS
= The Library folder = Since uninstalling Mac apps consists of dragging the .app folder to the trash, . . . from the commandline, use pbcopy: $ pbcopy < ~/.ssh/id_rsa.pub == find == The BSD userland version . . .
7K - last updated 2017-06-22 06:24 UTC by 1443
Remote dump
Dumping the remote server to a local box that's in a NATted network. From the local box, open a reverse . . . tunnel: $ ssh -R2222:localhost:22 remoteserver Now you're on . . . $ sudo -i # /sbin/dump -0uan -f - / | gzip -2 | ssh -c blowfish -o \ UserKnownHostsFile=/dev/null -o . . .
1K - last updated 2011-06-23 09:13 UTC by 1443
Review Budget Dedicated
= Trial server = BudgetDedicated (hierna: BD) heeft een zogenaamde trial service. Zeer handig om kennis . . . daarna EUR. 0,50 per Gb) * Java-applet die via ssh connect De Java-applet startte wel en probeert . . . Je kunt dit bijvoorbeeld nodig hebben als de SSH daemon is gecrasht of je jezelf met verkeerde firewall . . . regels hebt buitengesloten. Je gebruikt dan ssh om te connecten naar een speciaal IP adres met . . . als username je servernaam. Die ssh sessie wordt dan doorverbonden met de console. . . .
3K - last updated 2006-03-09 16:26 UTC by 1443
Scratch CentOS 5
* Installation. Customized package selection, everything deselected except base utilities. * Log in for . . . with the virt-manager utility? * Lock down sshd * Remove server keys from image, set IP address, . . .
7K - last updated 2007-08-10 12:43 UTC by 1443
Screen
When you're ssh'ing to a specific remote server regularly, [http://www.gnu.org/software/screen/screen.html . . . [[ "$PS1" && "${STARTED_SCREEN:-No}" = No && "${SSH_TTY:-No}" != No ]]; then STARTED_SCREEN=1 ; export . . . [[ "$PS1" && "${STARTED_SCREEN:-No}" = No && "${SSH_TTY:-No}" != No ]] If I have some title at my terminal . . . Otherwise, expands to No.) and if SSH_TTY is set and not null, then we can attempt to . . . create the screen. $SSH_TTY is set when you ssh in, it should not be tripped . . .
7K - last updated 2009-05-26 14:24 UTC by 1443
Shell tricks
= Shared accounts = Sometimes, you have to use shell accounts which are shared with other people. Of . . . the first variable. I'm assuming that you use ssh. MY_IP="10.0.0.126" FROM=`echo $SSH_CLIENT | cut . . . without using IP addresses: FROM_IP=$(echo $SSH_CLIENT | cut -f1 -d" " | grep -v ":0") FROM=$(host . . . doesn't: VPN_NETWORK="172.30.1" FROM=${SSH_CLIENT%% *} # Strip cruft from SSH_CLIENT environment . . . done; = Hostname in terminal emulator title = SSH'ing to a remote Solaris box from gnome-terminal . . .
2K - last updated 2014-02-12 13:23 UTC by 1443
SSH
= Create a VNC tunnel to work = Suppose your home and organization's network looks like this: +-----Organization-Network-----+ . . . +---------+ | | home |-------Internet-------| | SSH |---| work | | | DSL | | | gateway | | station . . . | DMZ | network | +-----+-----+ The gateway runs SSH and is used as a hop to your workstation. I.e. . . . login on the gateway machine and from there, you ssh to your workstation. The command line enables many . . . things but sometimes just ssh is not enough. You probably also want to connect . . .
7K - last updated 2008-11-14 09:17 UTC by 1443
SVN
I've written about the differences between SVN and CVS and the usage of the plugins in Eclipse, see also . . . are two options: # You access SVN via the svn+ssh option, or purely locally (on a multi-user server). . . . way you connect to the server. To start using SSH, do something like: $ svn switch --relocate http://domainname/svn/projectname/trunk . . . \ svn+ssh://domainname/var/www/svn/projectname/trunk Of course, . . . this assumes you have an SSH account on the box. . . .
17K - last updated 2014-04-11 10:18 UTC by 1443
Using Screen
= THIS IS AN OLD VERSION = PLEASE CHECK THE MORE RECENT PAGE: [[Screen]]. When you're ssh'ing to a specific . . . [[ "$PS1" && "${STARTED_SCREEN:-No}" = No && "${SSH_TTY:-No}" != No ]]; then STARTED_SCREEN=1 ; export . . . [[ "$PS1" && "${STARTED_SCREEN:-No}" = No && "${SSH_TTY:-No}" != No ]] If I have some title at my terminal . . . Otherwise, expands to No.) and if SSH_TTY is set and not null, then we can attempt to . . . create the screen. $SSH_TTY is set when you ssh in, it should not be tripped . . .
6K - last updated 2009-05-20 09:04 UTC by 1443
Vim
[http://www.moolenaar.net/habits.html Tips from Bram], be sure to read them. = Interaction with X = Vim . . . Type ":set mouse=a" to turn it on. * You used SSH to log into a remote machine and X11 is not forwarded. . . . then X is not forwarded. Solution: start ssh with option '-X'. * You used SSH with -X and X11 . . . the system administrator has configured the SSH daemon to deny X11 forwarding, add the -v option, . . . to add the line 'X11Forwarding true' to /etc/ssh/sshd_config. $ ssh -v -X remotemachine ... debug1: . . .
9K - last updated 2014-12-12 08:11 UTC by 1443
Xen
= Tips = == Mounting == If you do a straight install of CentOS to an image with <tt>virt-manager</tt>, . . . Shutdown the VPS, then in Dom0, use dd plus ssh to copy the complete image to your backup server. . . . # dd if=/dev/vg0/vps_name | gzip --fast | ssh user@backupserver "split -b 2048m -d - backup-vps_name.img.gz" . . .
3K - last updated 2011-09-29 09:58 UTC by 1443
43 pages found.