70 Topics
I don't want to pass ssh key through a file. I want to pass it along with the ssh command only along with user@ip. Can I modify that ssh command? Can anyone provide me the command to pass rsa key along with user?
I have a script in my system. I want to run this script on the remote system which has SSH connection.
Background: I'm looking to program and sell (on the Mom & Pop circuit) some internet-enabled devices. They need to be pre-configured in-store by a non-techie. The device will come online with a DHCP address. I need to find it, send it customer-specific configuration changes, then wrap it up for the …
I just got a Macbook and I've always had a PC when it comes to doing worky stuff. (For many years I had an iMac at home, Dell at work, and I haven't had a mac at all for the past 4 years). First I had a problem installing Zend …
I am using centos Please help what is SSH commands to do this: run a command 20 times, break 2 seconds, and repeated again so like this // run 20 times wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget http://test.com wget …
Hello I have a problem I order a ubuntu linux server with a dedicated server and wish to enter as root ssh but when I type the command sudo root it gives me an error ?
I need some SSH help, from what I can remember, accidently I enabled a cloud feature on my NAS that put all existing files in the following folders, common problem amoungst many; \.wdmc\transcoded_files\944dfee7a3934671a1b910639b68a05a. The only solution is though SSH & delete the folders but keep the files that are hidden …
Hi All, I'm trying to setup ssh key authentication on a git server and remove the password authentication. The server and any clients are all local at the moment. The clients are running Windows 7. I've got the ssh key part set up but I'm having trouble preventing the password …
Since trying to install drush on my web server ssh my prompt has changed to -jailshell-4.1$. It used to be [email protected] [~] #. I dont seem to be able to change it even when i close the session and re open it still sarts the prompt with -jailshell-4.1$ once logged …
I don't know if this is a Linux Mint problem or a Debian problem. I use Mint as a desktop but I just installed a standard no GUI edition of Debian for my media server. I was going to use the Mint file browser Nemo to connect to the Debian …
I'm trying to host a Minecraft server on a Openshift DIY gear and my friend wants to join. I have a SSH key for him, and when I run this in cmd like the documentation says: "C:\Users\~Jacob\Desktop\putty.exe" -ssh -i "C:\Users\~Jacob\Documents\ssh.ppk" -N -L 127.5.90.1:25565:127.5.90.1:25565 [email protected] It says in PuTTY that it …
Hi All, I have a server that I'm using as a Git repository. I'm trying to clone from this repository to a GoDaddy server. I am getting the error "ssh: connect to host <my git server ip and port>: connection refused. I have checked the ssh_configs, sshd running, rsa keys, …
Hello, I install ubuntu through a Virtual Machine. I know how to open a terminal, now how to open ssh through ubuntu Virtual Machine? Thanks before.
Hi everyone! I am trying to set up a reverse ssh tunnel from a windows machine using Cygwin (openssh) , to a Linux server machine with static ip, so i can access the windows pc directly through the server from any other machine. My ultimate goal is to be able …
I had written a script to login to some terminals and do some basic commands remotely. It fails at password entry. ******************************************************************* Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.Run "cygwin" ' Give Cygwin time to load WScript.Sleep 2000 a=Array(112) For Each i In a WshShell.SendKeys "`ssh [email protected]" & i & " 'hostname;ps …
Hi everyone, I recently installed Ubuntu on an older computer of mine. This is my first time using Linux. For school, I use a program called Putty to connect to their computer to write, compile, and submit programs for my homework. Is there a similar program that would allow me …
hai, i am ubuntu user. I want to access my gf pc (os is ubuntu). I know her ip, username and password. but i want to access her pc using without installing any software in her pc. I know that it is possible via ssh command. But ssh is not …
I have a script that is requires a cron job. The script has the option to run a manual cron job which works fine and the option of seting up an automatic cron job which is where the problem is. The support from the scripts authors is poor as they …
Hi, i m trying to ssh to a server and run a exe on that using a script file - runremote.sh All the prints generated by the exe on remote are being displayed on server 1 from where i have executed the script . But after sometime, the execution stops …
lfs@debian:~$ scp output [email protected]:/home/garrett ssh: connect to host 192.168.1.10 port 22: Connection refused lost connection lfs@debian:~$ Why is the above not working? I am wasily able to ssh from on computer to the other, why will scp not work here? output is just a simple text file.
I am having around 150 servers. I want to change a string in a file using a script with ssh login. Can someone help me out?
When I use username@ipaddress everthing works frine, but when I try to use username@computername I got nothing. It would really be a lot easier to use the computer/server name rather than walk over to the other machine and check the ip evertime. Any ideas? From everything I've read username@computername should …
how to conecct remote server by using ssh in php
I have a bunch of scripts that get data from a number of systems to analyze / report against. Up to now I have been taking the output to the screen and just copy/pasting into a file. I am now trying to send directly to files, but when I try …
Dear All, I am currently using centos 5.5. My problem is for eg.I have user Adam. So when Adam logs in via SSH/SFTP I want to limit his view on the server folder meaning he can only see a certain limited folders. Any good tutorial for a newbie like me. …
Hi, I have some problems regarding the use of SSH(and also being a newbie in the SSH world). I have an application that uses SSH but when I want to use public key authentication. The server is a Win2003 server with F-Secure SSH server 5.3. When trying to log in …
I recently rented a a Virtual Private Server. The best way for me to connect to it is to SSH into it and start a service. When I do this, it works perfectly fine, until I close my SSH program, in which the software stops running. How can I fix …
Hi Community, I have sort of a weird problem. I used to connect to a server (OS Ubuntu Server) through putty and everything worked fine. Now we had to reinstall the server from the beginning and after that my putty does not work as before. It doesn't show me the …
Hello, I have a computer upstairs that I want to store everything off and then just be able to ssh into it. I have port forwarded 20 to the IP address of the computer (on the router), and connect to it when I'm on my own router it works, however, …
Hello, I have a computer upstairs that I want to store everything off and then just be able to ssh into it. I have port forwarded 20 to the IP address of the computer (on the router), and connect to it when I'm on my own router it works, however, …
Hello, I am trying to remotely connect to my mac that is at home. It appears when I am on my network, I can ssh into it without any problems whatsoever. If I try and ssh outside of my network it displays an error saying "Connection failed" Is there a …
Hello all, My friend recently rented a server, through a site, and he wanted me to help him run it, as he has very little computer knowledge. I used SSH Secure Shell (TM) (running Windows 7), to access it, and accidentally closed the window without disconnecting. Since then I have …
Hi please help me about SSL and SSH what is that and what is there using purpose coz some of my clients asking me for ssh access or ssh root access i don't know what is that. Thanks in advance
I am usng ubuntu 10.04 I have installed on both computers sudo apt-get install ssh I have the problem I want to connect from comp1 to comp2. I crate my rsa. comp1@laptop$ ssh-keygen -b1024 -t rsa Generating public/private rsa key pair. Enter file in which to save the key (/home/comp1/.ssh/id_rsa): …
Hi, I plan to install an SFTP server on one of our domain servers, but beforehand I wanted to setup a dummy server on one of my local workstations. I used [U]OpenSSH [/U]to setup a home location with the folder named [B]SSHTestBed[/B], full path: C:\SSHTestBed I also created a new …
Hi Friends I have two server 1. server 1 2. server 2 I want to execute a shell script in server 2 from server 1. shell script will returns few data i need to check in server 1 Please help me in this
[code] String host = host_adress SshClient ssh = new SshClient(); ssh.connect(host,10022); System.out.println("ssh is connected--->"+ssh.isConnected()); PasswordAuthenticationClient passwordAuthenticationClient = new PasswordAuthenticationClient(); passwordAuthenticationClient.setPassword(password); passwordAuthenticationClient.setUsername(username); int result = ssh.authenticate(passwordAuthenticationClient); if(result != AuthenticationProtocolState.COMPLETE){ throw new Exception("Login to host failed"); } ssh.disconnect(); [/code] Above i just want to connect to an FTP server. We gave them …
Hi, I need a command line to list all the image files that are stored in another server. I have username, pasw, ip and port. However, code below doesn't work. Either with php or command line will be accepted. Thanks in advance [CODE]$pathToImages = root:[email protected]:22 /var/www/vhosts/pictures/[/CODE]
So I am in the process of writing simple client type program that send files over ssh. My goal is to have a shell script that interacts. for an example if i wanted to send a file to the server it wound be something like 'foo send FILENAME'. My question …
i need to set up a server on a virtual machine in my computer and that allows one of the following protocols to access it: ssh ftp pptp rdp ipsec. the ssh is the perferred one/any ideas?
I have a Verizon FiOS router. I need to be able to forward port 5900 (VNC) to a specific machine, is there any way to do this over SSH? I can't just use Lynx because the router config page uses JavaScript for [I]everything[/I]. Is there any way I can forward …
I have tried to measure packet loss on a data link with the Ipred tool through an SSH tunnel and it does not work. I can use TCP on the same SSH tunnel but then it's not possible to measure packet loss.
hi to all this is my first post here at daniweb. here is my situation. i have 1, installed win xp verison of virtualbox 2, installed mandriva power pc as the virtual box guest 3, fully configured ssh and httpd (deault ports) 4, they both can see the net 5. …
Hi and I have been searching for a ssh program with a graphical interface purely to upload and download files from the root of the server without ftp. Does anybody suggest any programs for this job? Windows XP Pro is my Operating System and Ubuntu versions are also welcome.
So I know I can run a terminal command, ok? What if I want to run say... a vi command or mkdir command INSIDE ssh? If I want to make it insert a directory in a server via SSH, possible? Last time I checked I think when you run commands …
Hi All, Can any one suggest how to connect remote more than one remote server one by one inside a loop through Net::SSH::Perl package ? , I have to connect to 9 remote server, I am able to connect the first server , execute some command there come out again …
I'm having trouble using SSH to gain access to my Ubuntu 9 machine (extreme linux neophyte). I have the Ubuntu server and OpenSSH installed, as well as Samba on one machine, and I'm trying to access this machine, via SSH, from my Mac--which is running OS X 10.5.6. I am …
Where are the system-wide configuration files for ssh held? And what information is held in the directory .ssh for an individual user?
Hi I'm working against a server on a network behind a firewall, I do not have control over the firewall, ports etc. Have used teamviewer remote controll software to connect me to an XP machine with two network adapters that are in this network. The server is in a NAT …
I need help trying to execute a script remotely using ssh. I'm writing a script that will run on a local machine. From that script I need to execute a script on a remote machine. The problem is that when I run the remote script using ssh, it's output is …
The End.