70 Topics

Member Avatar for
Member Avatar for Programmer18

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?

Member Avatar for rproffitt
0
69
Member Avatar for Gabriel9999

I have a script in my system. I want to run this script on the remote system which has SSH connection.

Member Avatar for samueltarcin999
0
166
Member Avatar for DeanMSands3

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 …

Member Avatar for rproffitt
0
2K
Member Avatar for Dani

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 …

Member Avatar for pty
0
964
Member Avatar for basketmen

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 …

Member Avatar for JeoSaurus
0
432
Member Avatar for christine06

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 ?

Member Avatar for eroux
0
411
Member Avatar for Siberian

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 …

0
180
Member Avatar for Tinnin

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 …

Member Avatar for Tinnin
0
484
Member Avatar for jcomputing

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 …

Member Avatar for rubberman
0
423
Member Avatar for lewashby

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 …

Member Avatar for lewashby
0
367
Member Avatar for Djmann1013

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 …

Member Avatar for rubberman
0
227
Member Avatar for Tinnin

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, …

Member Avatar for Tinnin
0
856
Member Avatar for davy_yg

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.

Member Avatar for rubberman
0
240
Member Avatar for ktsangop

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 …

Member Avatar for ktsangop
0
2K
Member Avatar for amitshowry

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 …

0
292
Member Avatar for stupidenator

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 …

Member Avatar for dejikadri
0
1K
Member Avatar for asif122333

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 …

Member Avatar for caperjack
0
146
Member Avatar for magicmarkuk

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 …

Member Avatar for magicmarkuk
0
695
Member Avatar for srinivas88

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 …

Member Avatar for ennoil
0
285
Member Avatar for lewashby

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.

0
109
Member Avatar for ashiiiish

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?

Member Avatar for rubberman
0
70
Member Avatar for lewashby

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 …

Member Avatar for JorgeM
0
177
Member Avatar for asifkamalzahid
Member Avatar for garyrickert

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 …

0
104
Member Avatar for newbie14

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. …

Member Avatar for newbie14
0
247
Member Avatar for Powerponken

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 …

0
122
Member Avatar for fuggles

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 …

Member Avatar for cwarn23
0
85
Member Avatar for konradhoppe

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 …

Member Avatar for konradhoppe
0
388
Member Avatar for phorce

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, …

Member Avatar for jingda
0
119
Member Avatar for phorce

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, …

0
53
Member Avatar for phorce

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 …

Member Avatar for Netcode
0
80
Member Avatar for sciwizeh

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 …

Member Avatar for sciwizeh
0
200
Member Avatar for svmer

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

Member Avatar for 84hd0ns
0
113
Member Avatar for questionX

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): …

Member Avatar for tlkummell
0
254
Member Avatar for BlackPhoenix

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 …

Member Avatar for lolafuertes
0
211
Member Avatar for ramukumar

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

Member Avatar for rch1231
0
168
Member Avatar for Xessa

[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 …

0
63
Member Avatar for veledrom

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]

Member Avatar for veledrom
0
269
Member Avatar for n30h4x

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 …

Member Avatar for n30h4x
0
166
Member Avatar for schumaj

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?

0
54
Member Avatar for mordicaii

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 …

0
145
Member Avatar for Sune

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.

Member Avatar for zerofreedom
0
2K
Member Avatar for linuxfingers

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. …

Member Avatar for crunchie
0
169
Member Avatar for cwarn23

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.

Member Avatar for cwarn23
0
161
Member Avatar for mediachicken

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 …

Member Avatar for necrolin
0
132
Member Avatar for Prakash_8111

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 …

Member Avatar for wickedxter
0
101
Member Avatar for b3ckm4n

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 …

Member Avatar for b3ckm4n
0
541
Member Avatar for newcountry

Where are the system-wide configuration files for ssh held? And what information is held in the directory .ssh for an individual user?

Member Avatar for newcountry
0
108
Member Avatar for kritro

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 …

0
29
Member Avatar for curto21

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 …

Member Avatar for DimaYasny
0
110

The End.