How to run an NCurses program over SSH and not have it close when I exit?
location: ubuntuforums.com - date: September 12, 2013
So I have a server running ubuntu and there is an NCurses program that I would like to be able to turn on and just run for a long time. The trick is that I have to do it over SSH and I know that if I start a program over SSH and then close the connection, it will stop running on the system itself. I also want to be able to come back to this program when I feel like it and log in. I was wondering if this is even possible to do.
Any help on this topic would be greatly appreciated. Thank you in advance.
Linux user does not have ssh access
location: ubuntuforums.com - date: May 27, 2008
I'm running a Hardy server. I created myself as the sudo user during installation and added another user to the system.
This user is denied when logging in via ssh even though he is using the correct username / password combination.
Which group should I put him in to give him ssh login rights?
The system is pretty plain ubuntu server, didn't make many configuration changes. Only thing I can think of messing up his login rights is that he is using a samba share I set up.
Thanks for your help.
[SOLVED] SSH login no passwords, want to set a passphase but not have to enter for known hosts
location: linuxquestions.com - date: May 18, 2012
Just to try and bump up my servers security I would like to make the users have to use ssh keys to gain access my server.
I have used this following guide here:
Though I have set the SSH config to something like this:
View Contents Of Zip Without Extracting.
location: ubuntuforums.com - date: November 18, 2009
I Want To Do This Via Command Line
I Wish To View Contents Of Zip File Without Extracting..
I Know Command For It Is
unzip -l filename.zip
But It Is Not Complete
With Above Command I Get This
Length Date Time Name
-------- ---- ---- ----
2796 00-00-80 00:00 file1.txt
541922 00-00-80 00:00 file2.txt
0 00-00-80 00:00 folder1/
544718 3 files
Now, I Want To View Contents Inside folder1/ Also...
Is That Possible ?
Also, In Case Its Not Possible To View Contents Of folder1/ Then,
How Do I Extract Contents Of Only folder1/
Without Extracting Whole Archive...
SSH Tunnels do not work
- date: December 19, 2012
The command should have been:
laptop# ssh -CTnN -o 'ServerAliveInterval 60' -o 'ServerAliveCountMax 3' -i ~/.ssh/keys/special.key -R 80:localhost:80 [email protected]
I have setup a ssh tunnel between my laptop and a remote server to forward my laptop's port 80 to remote server's 80.
Laptop's apache is running and listening on 0.0.0.0:80(though in this case listen address doesn't matter as apache would always get requests from local ip, unless i am mistaken), and apache is configured to "Allow from all" against "Location /" with no access overrides within any vhost. Only default vhost is enabled.
I have been trying to access apache using remote server's domain(using IP causes same effect) but it keep loading forever. Remote server's firewall does allow port 80. Laptop's apache log level is set to debug everywhere and no log files are updated. I did restart apache on laptop multiple times. On remote server telnet to localhost:80 also hangs f
Bash scripts do not echo commands
- date: January 13, 2006
I have a bash script named ztest that looks like this:
On server A it works fine, and I get a directory listing.
On server B I get nothing. As though the script did not execute!
However, I modified the script:
ls -lat $1 >zresult
When I execute the following:
I see the directory.
And if I execute the following:
I see the /etc/init.d/ directory.
Bottom line: The bash script is executing.
But I am not getting/seeing any output from the script.
I have tried echo commands, >stdout, etc. but no such luck!
I am ssh'd into the server using PuTTY.
But I have no idea if this is a system configuration issue? A PuTTY issue? Some other issue?
how much RAM do I have on my computer?
location: ubuntuforums.com - date: August 12, 2008
My brother gave me a new computer and I got no clue how much RAM or memory that it has. Could someone tell me what is the command so that I can find out?
I know there is some system monitor thing that can tell me but that is not what I am looking for.
Do I have misunderstood something?/Help needed!
location: linux.com - date: October 12, 2012
OK, so there is the Linux kernel, being updated regularly (so far so good).
On top of it every Linux distribution is built, being updated to the most recent kernel, too.
But, when someone wants to port a specific linux distro, what does he do?
He cross-compiles the kernel (that ends in .tar.bz2) after he implements any patch?
Here is my situation. I need to understand the process.
I see for example that for this board(arm architecture) an open embedded kernel has been built, but I also see that 2 supported distros for this board have different kernel.IMGs, as well as different (extra files, what I mentioned in the second sentence, which I don't know how it is called). If a developer wanted to port an other distro, would he use the preexcistent kernel.img and do "some magic tricks" with the rest of the files, put them on a SD and then his board would boot (with a lot of bugs waiting to be fixed), or would he need to: take the latest kernel source, apply the patches,
You don't have permission to access / on this server.
location: ubuntuforums.com - date: July 4, 2009
Well, I have apache, php and mysql set up on my laptop and they are working fine as I've created some test web pages and instalelled drupal.
However the index.html file at http://localhost/index.html wasn't loading automatically when I went to http://localhost, although it did work if I specified the full path http://localhost/index.html. In my attempts to fix this though I have now locked myself out of all files/folders in http://localhost. I get a 403 Forbidden message "You don't have permission to access / on this server."
I'm logged into linux as root. Can someone tell me how to configure my /var/ww/ folder so I have permission to access all these files on http://localhost? Or do I have to configure apache? Really at a loss here as I've only been using linux 3 days.
Rsync Only copy files that do not exist at the destination directory?
location: linuxquestions.com - date: December 17, 2012
I can't seem to figure out what combination of switches will get Rsync to only copy files from a source dir to a destination dir if that file DOES NOT exist at the destination. In other words I do not want to overwrite any files on the destination, even if they are older.
Page: 1 2 3 4 5 6 7 8 9 10