answerstu

vagrant - Grinder agent fails to report data to console through ssh tunnel

I'm using Vagrant ssh to connect to a remote Grinder agent while running the console locally:vagrant ssh agent01 -c "./startAgent.sh" -- -R 6372:localhost:6372The console can talk to the agent, and start the agent's threads:2015-07-24 10:12:54,391 INFO agent: The Grinder 3.112015-07-24 10:12:54,507 INFO agent: connected to console at /127.0.0.1:63722015-07-24 10:12:54,507 INFO agent: waiting for console signal2015-07-24 10:12:57,869 INFO agent: received a start message2015-07-24 10:12:57,887 INFO agent: Worker process command line: java '-...Read more

WARNING: UNPROTECTED PRIVATE KEY FILE! when trying to SSH into Amazon EC2 Instance

I'm working to set up Panda on an Amazon EC2 instance.I set up my account and tools last night and had no problem using SSH to interact with my own personal instance, but right now I'm not being allowed permission into Panda's EC2 instance.Getting Started with PandaI'm getting the following error:@ WARNING: UNPROTECTED PRIVATE KEY FILE! @Permissions 0644 for '~/.ec2/id_rsa-gsg-keypair' are too open.It is recommended that your private key files are NOT accessible by others.This private key will be ignored.I've chmoded my keypair...Read more

camel-ssh key based authentication

I am trying to execute ssh commands through camel route. I am getting below error can anyone help me to resolve the issue. I was able to execute commands by using username and password.public key I copied in authorized_keys in server.I am using blueprint dsl. < to uri="ssh://admin@10.23.24.41:22? certResource=classpath:test_rsa&amp;timeout=5000"/>test_rsa is the filename where public key is present.Server at /10.23.24.41:22 presented unverified DSA key: 8a:40:91:2a:16:90:8c:c4:06:b1:1f:79:74:2f:08:09EXCEPTION MESSAGEstrong text=Canno...Read more

Openshift 3 SSH

In the OpenShift 2 I was able to just add my public key to the authorized keys set and do a simple ssh to my server. Now I am trying to migrate my app and just doing some test with simple deployment and ssh doesn't work. I would like to have ssh access to check what is wrong. But it seems ssh changed here - I cant find the info about where can I add a key or the info how to ssh (both of these infos were visible on OpenShift 2)Is that possible or they closed possibility to do a simple ssh to them?...Read more

Connect to openshift using `rhc ssh` on Windows without PuTTY

I have an Openshift app, and a Windows install with ssh provided by Git-for-Windows (under cmder). I do not have PuTTY installed.When I run rhc ssh app, I get the error:Connecting to <UID>@app-domain.rhcloud.com ...Using username "<UID>".FATAL ERROR: Disconnected: No supported authentication methods available (server sent: publickey,gssapi-keyex,gssapi-with-mic)If I run rhc ssh -d app to get better diagnostics, I end up with a trace containing:DEBUG: Invoking Kernel.exec with ["C:\\Program Files\\PuTTY\\plink.exe", "-vv", "<UID&g...Read more

ssh - Openshift - trying to clone repo after creating - asking for strange password

|||| Trying to clone my openshift application - asking for a password ||||[a****0@a**** ~]$ git clone ssh://12**********************@diy-a****.rhcloud.com/~/git/diy.git/Cloning into 'diy'...12**********************@diy-a****.rhcloud.com's password: Permission denied, please try again.12**********************@diy-a****.rhcloud.com's password: Permission denied, please try again.12**********************@diy-a****.rhcloud.com's password: Permission denied (password).fatal: Could not read from remote repository.Please make sure you have the correct...Read more

Using snort/suricata, I want to generate an SSH alert for every failed login to my Home Network

I am setting up an Intrusion Detection System (IDS) using Suricata. I want to write a custom rule which will generate an alert whenever a failed login attempts occur to my virtual machine.Example: alert tcp any any -> $HOME_NET 22 (msg:"SSH Brute Force Attempt";flow:established,to_server;content:"SSH";nocase;offset:0; depth:4;detection_filter:track by_src, count 2, seconds 2;sid:2005; rev:1;)I tried various combinations for SSH rule but not able to see any alerts in the Suricata Alerts section with multiple bad SSH attempts. (Bad attempts => u...Read more

ssh - How to fix unexpected server closed connetion in putty

Hello please help me friends, I am trying to login to server through ssh with putty. But after setting up the hostname and putty is ready, it will allow me to type the cpanel username. But after sometimes, it shows a message box (unexpected server closed connetion). Please is it network problem? Because there is something I don't understand about this problem.I need suggestions. Thanks. This is my sshd_config I have tried that @Nic but not working... This is my sshd_config #$OpenBSD: sshd_config,v 1.65 2003/08/28 12:54:34 markus Exp $# Th...Read more

setting up an ssh tunnel between client and server

I have a client and a server. there is a firewall between them such that the client can ssh to the server, but the server can not ssh to the client.i'd like to set up an ssh tunnel from the client to the server that would allow the server to make ssh connections back to the client. I know there are several posts on ssh tunneling, but have not found anything that talks about this. I know its possible I just can't find it. thanks for your time....Read more

minecraft - Windows ssh - How to keep proccess running after Disconnect

I want to start a java Process(Minecraft Server) over SSH(PHP Script). And on disconnect it should not be closed.I am using Bitvise SSH Server for Windows and 64 Bit Java. I can start the server but if I disconnect from the ssh server then the java Process(Minecraft server) stops.I tried with PUTTY but same Problem.Is there a command for cmd, like screen for Linux, which puts a process in the background?Thanks....Read more

How to use packer to build AMI without SSH

I would like to use packer to build AMI's where SSH is not running. This will be for immutable infrastructure. We will be building base / golden images and then building more streamlined images from the base image but, ultimately, I don't want SSH or any other means of remote access to the image. Can packer do this?...Read more

xorg - SSH -X "Warning: untrusted X11 forwarding setup failed: xauth key data not generated"

Hey I'm having an issue getting ssh X forwarding to work. The setup is I'm sshing into my ubuntu VM off OSX Yosemite host machine.I already installed xQuartz on OSX, xauth on ubuntu, and I believe I've have all the correct options set in ssh_config files.I get the Warning: untrusted X11 forwarding setup failed: xauth key data not generatedX11 forwarding request failed on channel 0message when opening a connection with ssh -X, and when I tried to run an X application:xterm: Xt error: Can't open display:xterm: DISPLAY is not setI have the identic...Read more