topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • July 18, 2019, 12:45 PM
  • Proudly celebrating 13 years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ric0la [ switch to compact view ]

Pages: [1]
1
Hi

Just added my thoughts on putty and other launches:

https://www.donationcoder.com/forum/index.php?topic=16498.0

Volunteers?  :D

2
Hi all!

I would actually favour another approach for putty. My farr coding skills are below zero, but maybe someone would like to volunteer.

Let's suggest we have a flatfile named "putty_sessions.txt" with some content similar to this:


#Alias;params
My Lil Server;-load green -ssh [email protected] -i C:\.ssh\myprivkey.ppk
Another one, production!;-load red -ssh [email protected] -i C:\.ssh\myprivkey.ppk

In the farr plugin config, there's something like this:


Command=C:\Program Files\PuTTy\putty.exe
Params=C:\whatever\putty_sessions.txt

Now, the farr plugin of my dreams would parse the file and kind of compile an alias file out of it (on the fly of course):


^ssh (.*)$
My Lil Server | C:\Program Files\PuTTy\putty.exe -load green -ssh [email protected] -i C:\.ssh\myprivkey.ppk
Another one | C:\Program Files\PuTTy\putty.exe -load red -ssh [email protected] -i C:\.ssh\myprivkey.ppk


This would actually be very easy to handle: Instead of adding 100s of putty sessions into the registry, just put them in the textfile in this format. The "-load red" loads the color scheme in my cases. I already have putty aliases similar to this, but they are quite hard to maintan.

What do you think? Is this feasible?

Cheers

Rico

PS: To be honest, I'd already have other purposes than putty. E.g. Ora SQL logins etc.

3
Hi ewemoa

At any rate, I've got a preliminary version of a PuTTY plugin which seems to be working with the standard PuTTY.  I tested a modified version w/ KiTTY's registry-based sessions (the only relevant difference I noticed seemed to be the location in the registry) with some success.

If there is interest, I might put together a preliminary release for testing.

Sure! I wonder why there's so little echo on your posting. I'd love to test it.

Cheers

Rico

4
Ok, cheers. Will build that into FarrMilk asap.

Cheers mate!

Any news here? Eager to use it  ;D

PS: We're neighbours  :up: Seisch wäni cha hälfe  :D

5
Ok, cheers. Will build that into FarrMilk asap.

Cheers mate!

6
I see! FarrMilk doesn't allow to specify a proxy yet. Would you mind to re-download the test tool with the above link and try like so:

C:\AuthenticationUrlTest>AuthenticationUrlTest.exe Proxy

where Proxy can be either a hostname or dotted IP address and port added the usual way (i.e. with : )


Cheers
Philipp

Tadaaa!  ;D  :Thmbsup:

C:\test>AuthenticationUrlTest.exe cache.xxx.xxx.xxx:8080
FarrMilk authentication test tool version 1.2
http://farrmilk.objecttechnology.com

Using proxy: cache.ch.colt.net:8080

rtm.auth.getFrob returned:

<?xml version="1.0" encoding="UTF-8"?>
<rsp stat="ok"><frob>4269354f09f11304f8d37346873c6f4dfede585d</frob></rsp>


frob is: '4269354f09f11304f8d37346873c6f4dfede585d'

Authentication URL is:

http://api.remembert...2c27d31c1d5d21126303
28139b&api_sig=49310bc04657fa131655268fe5b00dc2&frob=4269354f09f11304f8d37346873
c6f4dfede585d&perms=delete

7
FarrMilk accesses the Remember The Milk API via http REST requests (http://api.remembert...k.com/services/rest/). If your proxy blocks http, you won't be able to use FarrMilk. I'll update FarrMilk to give a better error message (so thanks for your help!). Just out of interest, how do you access the donationcoder.com forum?

Hi Philipp

Maybe I wasn't clear: There is no DIRECT way to go out  :D We need to go through the proxy to access the internet.

I don't know how libcurl gets to know the proxy settings of my PC. Does it take IE's settings?

On Unices, you have to set env vars to access the internet through a proxy on the command line (for tools like wget, curl etc). I don't know how FarrRTM does it.

Cheers
Rico

8
Thanks. Could you re-download the test tool (now vers. 1.1) using the above link and run it again please?

Sure:

$ cat result.txt
FarrMilk authentication test tool version 1.1
http://farrmilk.objecttechnology.com

curl_easy_perform failed!
Error 7: couldn't connect to server

rtm.auth.getFrob returned:



frob is: ''

Authentication URL is:





Please note: I am sitting behind a proxy. No way to go out on port 80 or 443 at all. I have ran your exe from the command line without any other settings.

Cheers

Rico

9
Hi!

I'd like to use this, but I always get something like "Failed to generate authentication URL". Any ideas? Proxy settings maybe?

Cheers

Rico

Rico, or anyone else with the 'Failed to generate authentication URL' problem, would you mind downloading a little tool I made from here:

http://farrmilk.obje...nticationUrlTest.zip

then run it in a console window and send me the output.

If you need help with the Command Prompt application let me know. You can redirect the output to a file like so:

C:\AuthenticationUrlTest>AuthenticationUrlTest.exe > Output.txt

Hi!

Sorry for my late reply. Here's the output:

$ cat Output.txt
FarrMilk authentication test tool version 1.0
http://farrmilk.objecttechnology.com

rtm.auth.getFrob returned:



frob is: ''

Authentication URL is:





Cheers

Rico

PS: Cygwin, therefore the cat.

10
Hi!

I'd like to use this, but I always get something like "Failed to generate authentication URL". Any ideas? Proxy settings maybe?

Cheers

Rico

11
FARR Plugins and Aliases / Text Replacement (to create text shortcuts)
« on: February 16, 2009, 05:02 AM »
Hi all!

I am looking for a way to use FARR to replace Lifehacker's Texter [1]. I use texter to quickly replace shortcuts by longer portions of text. One example (with Texter):

* I create a new mail
* At the bottom of my mail, I type "SIG" (without quotes)
* Texter replaces SIG by some text - my signature in this example

I could imagine that FARR could do the same, maybe in another way:

* Create new mail
* Hit the FARR shortcut
* Type the string (SIG)
* FARR copies the expanded text to the clipboard, changes back to the mail window and executes paste.

Of course, it should not interfere with KlipKeeper :-)

What do you think?

Thanks a lot!

Rico



[1] http://lifehacker.co...r-windows-238306.php

Pages: [1]