Skip to content

Commit dd56b7f

Browse files
committed
v0.3 + Re-creating SSH keys (ssh-keyscan)
1 parent e049292 commit dd56b7f

File tree

11 files changed

+29
-17
lines changed

11 files changed

+29
-17
lines changed

sshuttle-gui/backup/sshuttle_gui.lps

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,8 @@
4949
<ResourceBaseClass Value="Form"/>
5050
<UnitName Value="Unit1"/>
5151
<IsVisibleTab Value="True"/>
52-
<TopLine Value="196"/>
53-
<CursorPos X="13" Y="217"/>
54-
<ComponentState Value="1"/>
52+
<TopLine Value="144"/>
53+
<CursorPos X="77" Y="147"/>
5554
<UsageCount Value="40"/>
5655
<Loaded Value="True"/>
5756
<LoadedDesigner Value="True"/>
@@ -73,7 +72,7 @@
7372
<UsageCount Value="35"/>
7473
</Unit>
7574
</Units>
76-
<JumpHistory HistoryIndex="4">
75+
<JumpHistory HistoryIndex="5">
7776
<Position>
7877
<Filename Value="unit1.pas"/>
7978
<Caret Column="13"/>
@@ -94,6 +93,10 @@
9493
<Filename Value="unit1.pas"/>
9594
<Caret Line="199" Column="61" TopLine="181"/>
9695
</Position>
96+
<Position>
97+
<Filename Value="unit1.pas"/>
98+
<Caret Column="13"/>
99+
</Position>
97100
</JumpHistory>
98101
<RunParams>
99102
<FormatVersion Value="2"/>

sshuttle-gui/backup/unit1.lfm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
object MainForm: TMainForm
22
Left = 287
3-
Height = 189
3+
Height = 192
44
Top = 125
55
Width = 531
66
Caption = 'SShuttle-GUI'
7-
ClientHeight = 189
7+
ClientHeight = 192
88
ClientWidth = 531
99
OnCreate = FormCreate
1010
OnShow = FormShow
@@ -134,7 +134,7 @@ object MainForm: TMainForm
134134
object StaticText1: TStaticText
135135
Left = 0
136136
Height = 20
137-
Top = 169
137+
Top = 172
138138
Width = 531
139139
Align = alBottom
140140
BorderStyle = sbsSingle

sshuttle-gui/backup/unit1.pas

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ procedure TMainForm.AutoStartBoxChange(Sender: TObject);
144144
procedure TMainForm.FormShow(Sender: TObject);
145145
begin
146146
//Высота/Ширина формы (Auto)
147-
MainForm.Height := ClearBox.Top + ClearBox.Height + StaticText1.Height + 5;
147+
MainForm.Height := ClearBox.Top + ClearBox.Height + StaticText1.Height + 7;
148148
MainForm.Width := StartBtn.Left + StartBtn.Height + 25;
149149

150150
AutostartBox.Checked := CheckAutoStart;
@@ -214,6 +214,10 @@ procedure TMainForm.StartBtnClick(Sender: TObject);
214214
UserEdit.Text + '@' + ServerEDit.Text + ':' + PortEdit.Text +
215215
' -x ' + ServerEDit.Text + ':' + PortEdit.Text + ' 0/0 ' + Trim(Pars));
216216

217+
S.Add('');
218+
219+
S.Add('iptables -t nat -F');
220+
217221
S.Add('exit 0;');
218222

219223
S.SaveToFile('/etc/sshuttle-gui/connect.sh');
0 Bytes
Binary file not shown.

sshuttle-gui/lib/x86_64-linux/unit1.lfm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
object MainForm: TMainForm
22
Left = 287
3-
Height = 189
3+
Height = 192
44
Top = 125
55
Width = 531
66
Caption = 'SShuttle-GUI'
7-
ClientHeight = 189
7+
ClientHeight = 192
88
ClientWidth = 531
99
OnCreate = FormCreate
1010
OnShow = FormShow
@@ -134,7 +134,7 @@ object MainForm: TMainForm
134134
object StaticText1: TStaticText
135135
Left = 0
136136
Height = 20
137-
Top = 169
137+
Top = 172
138138
Width = 531
139139
Align = alBottom
140140
BorderStyle = sbsSingle
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

sshuttle-gui/sshuttle_gui

0 Bytes
Binary file not shown.

sshuttle-gui/sshuttle_gui.lps

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@
4949
<ResourceBaseClass Value="Form"/>
5050
<UnitName Value="Unit1"/>
5151
<IsVisibleTab Value="True"/>
52-
<CursorPos X="13"/>
52+
<TopLine Value="144"/>
53+
<CursorPos X="77" Y="147"/>
5354
<UsageCount Value="40"/>
5455
<Loaded Value="True"/>
5556
<LoadedDesigner Value="True"/>
@@ -71,7 +72,7 @@
7172
<UsageCount Value="35"/>
7273
</Unit>
7374
</Units>
74-
<JumpHistory HistoryIndex="4">
75+
<JumpHistory HistoryIndex="5">
7576
<Position>
7677
<Filename Value="unit1.pas"/>
7778
<Caret Column="13"/>
@@ -92,6 +93,10 @@
9293
<Filename Value="unit1.pas"/>
9394
<Caret Line="199" Column="61" TopLine="181"/>
9495
</Position>
96+
<Position>
97+
<Filename Value="unit1.pas"/>
98+
<Caret Column="13"/>
99+
</Position>
95100
</JumpHistory>
96101
<RunParams>
97102
<FormatVersion Value="2"/>

sshuttle-gui/unit1.lfm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
object MainForm: TMainForm
22
Left = 287
3-
Height = 189
3+
Height = 192
44
Top = 125
55
Width = 531
66
Caption = 'SShuttle-GUI'
7-
ClientHeight = 189
7+
ClientHeight = 192
88
ClientWidth = 531
99
OnCreate = FormCreate
1010
OnShow = FormShow
@@ -134,7 +134,7 @@ object MainForm: TMainForm
134134
object StaticText1: TStaticText
135135
Left = 0
136136
Height = 20
137-
Top = 169
137+
Top = 172
138138
Width = 531
139139
Align = alBottom
140140
BorderStyle = sbsSingle

0 commit comments

Comments
 (0)